Problem Qt-Embedded / PandaBoard
-
Hi everybody.
I have some problems with qt-embedded. I try to execute the textedit demo in qt examples. I do it with my pandaboard and a linux OS. When I execute ./textedit , I have the message :
bash : ./textedit : No such file or directoryI compiled the Appli from my PC with qt-everywhere-opensource-src-4.8.3. I build qt-everywhere-opensource-src-4.8.3 with arm-linux-gnuaebi-gcc-4.6 and arm-linux-gnuaebi-g++-4.6.
The configure command was : ./configure -embedded arm -xplatform qws/linux-arm-gnueabihf-g++/ -little-endian -qvfb -lrt -qt-gfx-linuxfb -qt-gfx-qvfb.
I tried with others qt-embedded versions but I still got the same message « bash : ./textedit : No such file or directory ».
What I did wrong ? Someone already had the problem ?
-
Do you see "textedit" listed when running ls?
-
I compile Qt-embedded with this command :
./configure -embedded arm -xplatform qws/linux-arm-gnueabihf-g++/ -little-endian -qvfb -lrt -qt-gfx-linuxfb -qt-gfx-qvfband make -j2 then sudo make install
I add the new qmake in Qtcreator to compile programs.
My qmake.conf is like this :
@qmake configuration for building with arm-linux-gnueabi-g++
include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
include(../../common/qws.conf)modifications to g++.conf
QMAKE_CC = arm-linux-gnueabi-gcc-4.6
QMAKE_CXX = arm-linux-gnueabi-g++-4.6
QMAKE_LINK = arm-linux-gnueabi-g++-4.6
QMAKE_LINK_SHLIB = arm-linux-gnueabi-g++-4.6modifications to linux.conf
QMAKE_AR = arm-linux-gnueabi-ar cqs
QMAKE_OBJCOPY = arm-linux-gnueabi-objcopy
QMAKE_STRIP = arm-linux-gnueabi-stripload(qt_config)
@
During the compilation of Qt embedded I had errors but I fixed them with solutions I found on the web.[Edit: Added @ tags -- mlong]
-
@ls -la
total 224
drwxrwxr-x 3 linaro linaro 4096 Oct 9 08:24 .
drwxr-xr-x 10 linaro linaro 4096 Oct 9 08:24 ..
-rw-r--r-- 1 linaro linaro 14365 Sep 11 03:36 example.html
drwxrwxr-x 4 linaro linaro 4096 Oct 9 08:24 images
-rw-r--r-- 1 linaro linaro 1930 Sep 11 03:36 main.cpp
-rwxrwxrwx 1 linaro linaro 108964 Oct 8 15:50 textedit
-rw-r--r-- 1 linaro linaro 24236 Sep 11 03:36 textedit.cpp
-rw-r--r-- 1 linaro linaro 3690 Sep 11 03:36 textedit.h
-rw-r--r-- 1 linaro linaro 535 Oct 9 2012 textedit.pro
-rw-r--r-- 1 linaro linaro 45701 Oct 9 2012 textedit.pro.user
-rw-r--r-- 1 linaro linaro 1634 Sep 11 03:36 textedit.qrc@I did a chmod 777 textedit to change the rights of the appli.
-
The version of cross-compiler is not suitable.
You should use arm-linux-gnueabihf-g++