[Solved] cross-compiling to pandaboard ES
-
Call qmake in a command line but use the full path to ensure the right one is selected
-
ok, done:
m4kas@m4kas-System-Product-Name:/mnt/panda/usr/local/Qt5.5-pandaboard/bin$ ./qmake -query QT_SYSROOT:/mnt/panda QT_INSTALL_PREFIX:/mnt/panda/usr/local/Qt5.5-pandaboard QT_INSTALL_PREFIX/raw:/usr/local/Qt5.5-pandaboard QT_INSTALL_ARCHDATA:/mnt/panda/usr/local/Qt5.5-pandaboard QT_INSTALL_ARCHDATA/raw:/usr/local/Qt5.5-pandaboard QT_INSTALL_DATA:/mnt/panda/usr/local/Qt5.5-pandaboard QT_INSTALL_DATA/raw:/usr/local/Qt5.5-pandaboard QT_INSTALL_DOCS:/mnt/panda/usr/local/Qt5.5-pandaboard/doc QT_INSTALL_DOCS/raw:/usr/local/Qt5.5-pandaboard/doc QT_INSTALL_HEADERS:/mnt/panda/usr/local/Qt5.5-pandaboard/include QT_INSTALL_HEADERS/raw:/usr/local/Qt5.5-pandaboard/include QT_INSTALL_LIBS:/mnt/panda/usr/local/Qt5.5-pandaboard/lib QT_INSTALL_LIBS/raw:/usr/local/Qt5.5-pandaboard/lib QT_INSTALL_LIBEXECS:/mnt/panda/usr/local/Qt5.5-pandaboard/libexec QT_INSTALL_LIBEXECS/raw:/usr/local/Qt5.5-pandaboard/libexec QT_INSTALL_BINS:/mnt/panda/usr/local/Qt5.5-pandaboard/bin QT_INSTALL_BINS/raw:/usr/local/Qt5.5-pandaboard/bin QT_INSTALL_TESTS:/mnt/panda/usr/local/Qt5.5-pandaboard/tests QT_INSTALL_TESTS/raw:/usr/local/Qt5.5-pandaboard/tests QT_INSTALL_PLUGINS:/mnt/panda/usr/local/Qt5.5-pandaboard/plugins QT_INSTALL_PLUGINS/raw:/usr/local/Qt5.5-pandaboard/plugins QT_INSTALL_IMPORTS:/mnt/panda/usr/local/Qt5.5-pandaboard/imports QT_INSTALL_IMPORTS/raw:/usr/local/Qt5.5-pandaboard/imports QT_INSTALL_QML:/mnt/panda/usr/local/Qt5.5-pandaboard/qml QT_INSTALL_QML/raw:/usr/local/Qt5.5-pandaboard/qml QT_INSTALL_TRANSLATIONS:/mnt/panda/usr/local/Qt5.5-pandaboard/translations QT_INSTALL_TRANSLATIONS/raw:/usr/local/Qt5.5-pandaboard/translations QT_INSTALL_CONFIGURATION:/mnt/panda/usr/local/Qt5.5-pandaboard/etc/xdg QT_INSTALL_CONFIGURATION/raw:/usr/local/Qt5.5-pandaboard/etc/xdg QT_INSTALL_EXAMPLES:/mnt/panda/usr/local/Qt5.5-pandaboard/examples QT_INSTALL_EXAMPLES/raw:/usr/local/Qt5.5-pandaboard/examples QT_INSTALL_DEMOS:/mnt/panda/usr/local/Qt5.5-pandaboard/examples QT_INSTALL_DEMOS/raw:/usr/local/Qt5.5-pandaboard/examples QT_HOST_PREFIX:/mnt/panda/usr/local/Qt5.5-pandaboard QT_HOST_DATA:/mnt/panda/usr/local/Qt5.5-pandaboard QT_HOST_BINS:/mnt/panda/usr/local/Qt5.5-pandaboard/bin QT_HOST_LIBS:/mnt/panda/usr/local/Qt5.5-pandaboard/lib QMAKE_SPEC:linux-g++ QMAKE_XSPEC:devices/linux-pandaboard-g++ QMAKE_VERSION:3.0 QT_VERSION:5.5.0
-
Looks good. Can you try to build your project on the command line ?
That's:mkdir myproject_build_dir /mnt/panda/usr/local/Qt5.5-pandaboard/bin/qmake /path/to/your/.pro_file make
-
What i got:
m4kas@m4kas-System-Product-Name:~/myproject_build_dir$ /mnt/panda/usr/local/Qt5.5-pandaboard/bin/qmake /home/m4kas/Dropbox/qt/bt_one/bt_one.pro m4kas@m4kas-System-Product-Name:~/myproject_build_dir$ make /mnt/panda/usr/local/Qt5.5-pandaboard/bin/uic ../Dropbox/qt/bt_one/mainwindow.ui -o ui_mainwindow.h ../Dropbox/qt/bt_one/mainwindow.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget1'. ../Dropbox/qt/bt_one/mainwindow.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget2'. ../Dropbox/qt/bt_one/mainwindow.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget3'. ../Dropbox/qt/bt_one/mainwindow.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget4'. ../Dropbox/qt/bt_one/mainwindow.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget5'. ../Dropbox/qt/bt_one/mainwindow.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget6'. /mnt/panda/usr/local/Qt5.5-pandaboard/bin/uic ../Dropbox/qt/bt_one/servicescanner.ui -o ui_servicescanner.h /mnt/panda/usr/local/Qt5.5-pandaboard/bin/uic ../Dropbox/qt/bt_one/settingsmenu.ui -o ui_settingsmenu.h /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o main.o ../Dropbox/qt/bt_one/main.cpp /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o mainwindow.o ../Dropbox/qt/bt_one/mainwindow.cpp /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o cserver.o ../Dropbox/qt/bt_one/cserver.cpp In file included from ../Dropbox/qt/bt_one/cserver.cpp:9:0: ../Dropbox/qt/bt_one/project_things.h:11:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/project_things.h:31:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/project_things.h:50:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/cserver.cpp: In member function ‘void cServer::slt_readSocket()’: ../Dropbox/qt/bt_one/cserver.cpp:150:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ../Dropbox/qt/bt_one/cserver.cpp:227:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ../Dropbox/qt/bt_one/cserver.cpp: In member function ‘bool cServer::startServer()’: ../Dropbox/qt/bt_one/cserver.cpp:71:1: warning: control reaches end of non-void function [-Wreturn-type] /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o cclient.o ../Dropbox/qt/bt_one/cclient.cpp In file included from ../Dropbox/qt/bt_one/cclient.cpp:6:0: ../Dropbox/qt/bt_one/project_things.h:11:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/project_things.h:31:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/project_things.h:50:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/cclient.cpp: In member function ‘void cClient::slt_readyread()’: ../Dropbox/qt/bt_one/cclient.cpp:110:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ../Dropbox/qt/bt_one/cclient.cpp:112:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ../Dropbox/qt/bt_one/cclient.cpp:165:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o servicescanner.o ../Dropbox/qt/bt_one/servicescanner.cpp ../Dropbox/qt/bt_one/servicescanner.h: In constructor ‘servicescanner::servicescanner(QBluetoothUuid, QWidget*)’: ../Dropbox/qt/bt_one/servicescanner.h:29:25: warning: ‘servicescanner::ui’ will be initialized after [-Wreorder] ../Dropbox/qt/bt_one/servicescanner.h:28:26: warning: ‘const QBluetoothUuid servicescanner::uuid’ [-Wreorder] ../Dropbox/qt/bt_one/servicescanner.cpp:8:1: warning: when initialized here [-Wreorder] /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o settingsmenu.o ../Dropbox/qt/bt_one/settingsmenu.cpp In file included from ../Dropbox/qt/bt_one/settingsmenu.cpp:7:0: ../Dropbox/qt/bt_one/project_things.h:11:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/project_things.h:31:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/project_things.h:50:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/settingsmenu.h: In constructor ‘settingsmenu::settingsmenu(QString, QWidget*)’: ../Dropbox/qt/bt_one/settingsmenu.h:26:23: warning: ‘settingsmenu::ui’ will be initialized after [-Wreorder] ../Dropbox/qt/bt_one/settingsmenu.h:25:19: warning: ‘const QString settingsmenu::filename’ [-Wreorder] ../Dropbox/qt/bt_one/settingsmenu.cpp:10:1: warning: when initialized here [-Wreorder] ../Dropbox/qt/bt_one/settingsmenu.cpp:17:9: warning: unused variable ‘k’ [-Wunused-variable] /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o imageprocessor.o ../Dropbox/qt/bt_one/imageprocessor.cpp In file included from ../Dropbox/qt/bt_one/imageprocessor.cpp:7:0: ../Dropbox/qt/bt_one/project_things.h:11:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/project_things.h:31:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/project_things.h:50:20: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] ../Dropbox/qt/bt_one/imageprocessor.cpp: In member function ‘QByteArray imageprocessor::getNextImgPart()’: ../Dropbox/qt/bt_one/imageprocessor.cpp:34:80: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ../Dropbox/qt/bt_one/imageprocessor.cpp:36:31: warning: statement has no effect [-Wunused-value] ../Dropbox/qt/bt_one/imageprocessor.cpp:42:84: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ../Dropbox/qt/bt_one/imageprocessor.cpp:44:33: warning: statement has no effect [-Wunused-value] ../Dropbox/qt/bt_one/imageprocessor.cpp: In member function ‘void imageprocessor::setNextImgPart(QByteArray)’: ../Dropbox/qt/bt_one/imageprocessor.cpp:58:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ../Dropbox/qt/bt_one/imageprocessor.cpp:67:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /mnt/panda/usr/local/Qt5.5-pandaboard/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -I/home/m4kas/Dropbox/qt/bt_one -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I/usr/include -I/usr/local/include ../Dropbox/qt/bt_one/mainwindow.h -o moc_mainwindow.cpp /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o moc_mainwindow.o moc_mainwindow.cpp /mnt/panda/usr/local/Qt5.5-pandaboard/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -I/home/m4kas/Dropbox/qt/bt_one -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I/usr/include -I/usr/local/include ../Dropbox/qt/bt_one/cserver.h -o moc_cserver.cpp /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o moc_cserver.o moc_cserver.cpp /mnt/panda/usr/local/Qt5.5-pandaboard/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -I/home/m4kas/Dropbox/qt/bt_one -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I/usr/include -I/usr/local/include ../Dropbox/qt/bt_one/cclient.h -o moc_cclient.cpp /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o moc_cclient.o moc_cclient.cpp /mnt/panda/usr/local/Qt5.5-pandaboard/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -I/home/m4kas/Dropbox/qt/bt_one -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I/usr/include -I/usr/local/include ../Dropbox/qt/bt_one/servicescanner.h -o moc_servicescanner.cpp /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o moc_servicescanner.o moc_servicescanner.cpp /mnt/panda/usr/local/Qt5.5-pandaboard/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -I/home/m4kas/Dropbox/qt/bt_one -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I/usr/include -I/usr/local/include ../Dropbox/qt/bt_one/settingsmenu.h -o moc_settingsmenu.cpp /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o moc_settingsmenu.o moc_settingsmenu.cpp /mnt/panda/usr/local/Qt5.5-pandaboard/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -I/home/m4kas/Dropbox/qt/bt_one -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I/usr/include -I/usr/local/include ../Dropbox/qt/bt_one/imageprocessor.h -o moc_imageprocessor.cpp /usr/bin/arm-linux-gnueabihf-g++ -c -pipe --sysroot=/mnt/panda -O2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../Dropbox/qt/bt_one -I. -I/mnt/panda/usr/local/Qt5.5-pandaboard/include -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtWidgets -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtGui -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtBluetooth -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtXml -I/mnt/panda/usr/local/Qt5.5-pandaboard/include/QtCore -I. -I -I. -I/mnt/panda/usr/include/mysql -I/mnt/panda/usr/include/postgresql -I/mnt/panda/usr/include/c++/4.6 -I/mnt/panda/usr/include/c++/4.6/ext -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/bits -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf -I/mnt/panda/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits -I/mnt/panda/usr/local/Qt5.5-pandaboard/mkspecs/devices/linux-pandaboard-g++ -o moc_imageprocessor.o moc_imageprocessor.cpp Wl,-rpath-link,/mnt/panda/usr/lib/pvr-omap4-egl -Wl,-rpath-link,/mnt/panda/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/panda/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/panda/usr/lib/arm-linux-gnueabihf/4.6 -Wl,-rpath-link,/usr/lib/gcc/arm-linux-gnueabihf/4.6 -Wl,-rpath-link,/usr/lib/gcc/arm-linux-gnueabihf/4.6/sf --sysroot=/mnt/panda -Wl,-O1 -Wl,-rpath,/usr/local/Qt5.5-pandaboard/lib -Wl,-rpath-link,/mnt/panda/usr/local/Qt5.5-pandaboard/lib -o bt_one main.o mainwindow.o cserver.o cclient.o servicescanner.o settingsmenu.o imageprocessor.o moc_mainwindow.o moc_cserver.o moc_cclient.o moc_servicescanner.o moc_settingsmenu.o moc_imageprocessor.o -L -L/mnt/panda/usr/local/Qt5.5-pandaboard/lib -lQt5Widgets -L/mnt/panda/usr/lib/arm-linux-gnueabihf -lQt5Gui -lQt5Bluetooth -lQt5Xml -lQt5Core -lrt -ldl -lGLESv2 -lpthread make: Wl,-rpath-link,/mnt/panda/usr/lib/pvr-omap4-egl: Command not found make: [bt_one] Error 127 (ignored)
-
I've tried to delete
-Wl,-rpath-link,$[QT_SYSROOT]/usr/lib/pvr-omap4-egl
from qmake.conf and the problem appeared in next record after pvr-omap4-egl: arm-linux-gnueabihf:make: Wl,-rpath-link,/mnt/panda/usr/lib/arm-linux-gnueabihf: Command not found make: [bt_one] Error 127 (ignored) 22:31:15: The process "/usr/bin/make" exited normally. 22:31:15: Connecting to device... 22:31:17: The remote file system has 10431 megabytes of free space, going ahead. 22:31:17: Deploy step finished. 22:31:17: Uploading file "/home/m4kas/Dropbox/qt/build-bt_one-panda-Release/bt_one"... 22:31:17: Failed to upload file "/home/m4kas/Dropbox/qt/build-bt_one-panda-Release/bt_one": Could not open for reading. 22:31:17: Deploy step failed.
so i deleted all those links in QMAKE_LFLAGS and got this:
/bin/sh: 1: -Wl,-O1: not found make: [bt_one] Error 127 (ignored) 22:36:55: The process "/usr/bin/make" exited normally. 22:36:55: Connecting to device... 22:36:57: The remote file system has 10431 megabytes of free space, going ahead. 22:36:57: Deploy step finished. 22:36:57: Uploading file "/home/m4kas/Dropbox/qt/build-bt_one-panda-Release/bt_one"... 22:36:57: Failed to upload file "/home/m4kas/Dropbox/qt/build-bt_one-panda-Release/bt_one": Could not open for reading. 22:36:57: Deploy step failed.
current qmake.conf:
# qmake configuration for the PandaBoards MAKEFILE_GENERATOR = UNIX #TARGET_PLATFORM = unix #TEMPLATE = app #CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index #QT += core gui QMAKE_INCREMENTAL_STYLE = sublib include(../../common/linux.conf) include(../../common/gcc-base-unix.conf) include(../../common/g++-unix.conf) load(device_config) QT_QPA_DEFAULT_PLATFORM = eglfs # modifications to g++.conf QMAKE_CC = /usr/bin/arm-linux-gnueabihf-gcc QMAKE_CXX = /usr/bin/arm-linux-gnueabihf-g++ QMAKE_LINK = ${QMAKE_CXX} QMAKE_LINK_SHLIB = ${QMAKE_CXX} # modifications to linux.conf QMAKE_AR = /usr/bin/arm-linux-gnueabihf-ar cqs QMAKE_OBJCOPY = /usr/bin/arm-linux-gnueabihf-objcopy QMAKE_STRIP = /usr/bin/arm-linux-gnueabihf-strip QMAKE_INCDIR += $$[QT_SYSROOT]/usr/include/mysql \ $$[QT_SYSROOT]/usr/include/postgresql/ \ $$[QT_SYSROOT]/usr/include/c++/4.6/ \ $$[QT_SYSROOT]/usr/include/c++/4.6/ext/ \ $$[QT_SYSROOT]/usr/include/c++/4.6/arm-linux-gnueabihf/ \ $$[QT_SYSROOT]/usr/include/c++/4.6/arm-linux-gnueabihf/bits \ $$[QT_SYSROOT]/usr/include/c++/4.6/arm-linux-gnueabihf/sf/ \ $$[QT_SYSROOT]/usr/include/c++/4.6/arm-linux-gnueabihf/sf/bits/ COMPILER_FLAGS = -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard #modifications to gcc-base.conf QMAKE_CFLAGS += ${COMPILER_FLAGS} QMAKE_CXXFLAGS += ${COMPILER_FLAGS} QMAKE_CXXFLAGS_RELEASE += -O2 QMAKE_LIBS += -lrt -lpthread -ldl QMAKE_INCDIR_EGL = $$[QT_SYSROOT]/usr/include QMAKE_LIBDIR_EGL = $$[QT_SYSROOT]/usr/lib QMAKE_INCDIR_OPENGL_ES2 = ${QMAKE_INCDIR_EGL} QMAKE_LIBDIR_OPENGL_ES2 = ${QMAKE_LIBDIR_EGL} #QMAKE_INCDIR_OPENVG = ${QMAKE_INCDIR_EGL} #QMAKE_LIBDIR_OPENVG = ${QMAKE_LIBDIR_EGL} #QMAKE_LIBS_EGL = -lEGL -lIMGegl -lsrv_um QMAKE_LIBS_EGL = -lEGL QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 ${QMAKE_LIBS_EGL} #QMAKE_LIBS_OPENVG = -lOpenVG ${QMAKE_LIBS_EGL} # Sanity check deviceSanityCheckCompiler() load(qt_config)
-
Double the dollar before all variables where you haven't yet. That's why you get all these command not found errors.
-
Don't forget to roll back your mkspec to its original state and add the double $ where needed