Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Installing the development environment for QT embedded linux
Micka38 last edited by
I try to develop QT application on a Linux target device (arm). I develop on an ubuntu laptop.
I downloaded the QT library for embedded Linux. I ran the ./configure file with the path to my cross compiler (host).
-./configure -embedded arm -prefix <QtDirectory>/qt-everywhere-opensource-src-4.8.2/installDir -hostprefix <QtDirectory>/qt-everywhere-opensource-src-4.8.2/hostInstallDir -prefix-install -xplatform qws/linux-arm-gnueabi-g++ -little-endian -host-little-endian -debug -opensource -nomake examples
(I use -nomake examples because it create errors while running the make command)
I get the following message :
"You have not explicitly asked to use pkg-config and are cross-compiling.
pkg-config will not be used to automatically query cflag/lib parameters for
However I had set the cross-compiler : "-xplatform qws/linux-arm-gnueabi-g++"
Then, I ran make & make -install
But when I use qmake to compile a program, It create a makefile with my ubutu native compiler and not the cross-compiler "linux-arm-gnueabi-g++" If I try to change the makefile with this compiler it creates errors. (path to cross compiler is in the PATH environment variable)
Can someone tell me which part of the installation I do not realise properly?