what's the basic setup for Linux to compilie a C/C++ examples from OpenCL SDK?
To get started download the drivers and SDK from your vendor, install both, then build and run the samples.
Related
I just testing qml and want to build small application for my raspberry pi3. For a test I took example and compiled (using kit: Desktop Qt 5.7 GCC 64bit) and this app was working on my 64bit linux machine, but on raspberry not working (getting a lot of errors). So I guess I need compile 32bit version? and if so how can I build 32bit version of this app?
Thank you
Qt Creator is just the IDE. What you need is a Qt version build to crosscompile for the pi3 target architecture. Then you can make a kit with it and compile projects that will run on the pi3. The kit you are currently using is compiled for a different hardware architecture, it couldn't possibly work.
You could also build Qt on the pi3 itself, which will most likely be a lot slower though, and you will have to compile your projects on it as well. I would not recommend that if you have a desktop machine.
Also, the pi3 actually has a 64bit CPU and it is possible to put 64bit linux on it, but I personally don't have the pi3 so I haven't tested it and also I don't seem to find any info on anyone succeeding with a 64bit Qt build, so you may want to do a 32bit build just to be on the safe side.
I'm asking if there're any guide that demonstrates how to install Embedded Linux on Aurix Application Kit.
AURIX™ Application Kit TC297 TFT
and if it's possible to do that or not.
Thanks In Advance
I have a Qt application which I built on Linux. I would like to run the same application on Windows. Is it possible? If yes, how? The Qt application software that I downloaded and used, is version 4.7.4.
Is it possible? If yes, how?
Yes, it is possible if the application is cross-compiled for Windows target on Linux.
You would need to have the mingw compiler installed on the Linux box when building the application for Windows. You would also need to make sure to use the proper `-mkspec- option for qmake.
If this is missed while building the application on Linux, it is probably not cross-compiling, so you would not be able to run the code on Windows off-hand unless you have a virtual machine installed for Linux, in which case you could do it, for sure.
You can install a Windows alongside your Linux and install VS2010 and Qt 4.8.* libraries for windows and compile your project there. You may need to make some changes to your source code in order to be compatible with Qt 4.8.* .
Been searching on the web for days...
There are a lot of threads about install flex or Apache flex but never Apache flex 4.11 on eclipse in a Linux environment. I am looking to develop a flash website with completely open source tools that is why I am using such a platform. Any assistance you could provide would be much appreciated.
I have eclipse install under Ubuntu 12.04 LTS and I am not sure how to proceed. Any guidance would be much appreciated.
UPDATE
I am reading more and more about dropping of linux support for this tool. I am still holding out hope for multi-platform development from linux but may need to go dual boot create my flash content in windows then move it to the linux.
I'd like to develop my own app based on a arm-linux system, using QT.
I'd like my app to support multi-touch functions. And I'd like to know if it is possible. If so ,please let me know which version of Linux kernel I should use.
Linux started supporting Microsoft's Multi-touch protocol from kernel 3.8 onwards.
The reference is here:
https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt
Addendum
http://www.ptrackapp.com/apclassys-notes/embedded-linux-multitouch/
has arm multi-touch tutorial for iPhones but it applies equally to Android.
The hid-multitouch in linux supports a whole bunch of panels:
See
http://lxr.free-electrons.com/source/drivers/hid/hid-multitouch.c
for details
Addendum 2
Multi touch support has been somewhat there since 2.6 Ubuntu had multi touch support in its distribution in 2010.
Microsoft Multi-touch protocol support started in 3.8. Chrome OS support started in kernel v3.9. X.org server had multi touch support built into it in 2011.
Run command:
chromium --enable-pinch
for context menu
create shortcut application (.desktop)
/home/"your user"/.local/share/applications
OR
support all aplications
search:
multi touch compiz plugin
https://www.youtube.com/watch?v=rY-85BUqWgY