Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved] cross-compiling to pandaboard ES
Forum Update on Monday, May 27th 2025

[Solved] cross-compiling to pandaboard ES

Scheduled Pinned Locked Moved Mobile and Embedded
pandaboarddesktopdeployingcross compile
23 Posts 2 Posters 7.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 23 Oct 2015, 21:35 last edited by
    #9

    In your custom mkspec do you have $[QT_SYSROOT] ? If so, double the $

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    1
    • M Offline
      M Offline
      m4kas
      wrote on 23 Oct 2015, 21:41 last edited by m4kas
      #10

      same error....
      My new custom mkspec (qmake.conf):

      
      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}
      
      QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib/pvr-omap4-egl \
            -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib/arm-linux-gnueabihf \
            -Wl,-rpath-link,$$[QT_SYSROOT]/lib/arm-linux-gnueabihf \
            -Wl,-rpath-link,$$[QT_SYSROOT]/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
      
      # Sanity check
      
      deviceSanityCheckCompiler()
      
      load(qt_config)
      

      I got that qmake.conf from link i've provided in 1st post.

      update: strange, but doubled '$' before QT_SYSROOT not shows here in my post....

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 23 Oct 2015, 21:49 last edited by
        #11

        Did you rebuild your application from scratch after the update ?

        Yes the double dollar doesn't show up. An ugly workaround is to leave a space between the two

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • M Offline
          M Offline
          m4kas
          wrote on 23 Oct 2015, 21:59 last edited by
          #12

          Yes, i made qmake and rebuild after i changed qmake.conf.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 24 Oct 2015, 19:58 last edited by
            #13

            What do you get when you call your cross-compiled Qt qmake -query ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • M Offline
              M Offline
              m4kas
              wrote on 25 Oct 2015, 09:31 last edited by
              #14

              sorry, im not sure that i know how to do that ;s

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 25 Oct 2015, 20:57 last edited by
                #15

                Call qmake in a command line but use the full path to ensure the right one is selected

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                M 1 Reply Last reply 25 Oct 2015, 21:28
                1
                • S SGaist
                  25 Oct 2015, 20:57

                  Call qmake in a command line but use the full path to ensure the right one is selected

                  M Offline
                  M Offline
                  m4kas
                  wrote on 25 Oct 2015, 21:28 last edited by
                  #16

                  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
                  
                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 25 Oct 2015, 22:47 last edited by
                    #17

                    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
                    

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1
                    • M Offline
                      M Offline
                      m4kas
                      wrote on 26 Oct 2015, 11:36 last edited by
                      #18

                      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)
                      
                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        m4kas
                        wrote on 27 Oct 2015, 20:39 last edited by
                        #19

                        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)
                        
                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 27 Oct 2015, 20:44 last edited by SGaist
                          #20

                          Double the dollar before all variables where you haven't yet. That's why you get all these command not found errors.

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          1
                          • M Offline
                            M Offline
                            m4kas
                            wrote on 27 Oct 2015, 21:05 last edited by
                            #21

                            Yes, it worked... Thank you very much, SGaist. I've got another type of errors now and ill try to fix them by myself.

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on 27 Oct 2015, 21:08 last edited by
                              #22

                              Don't forget to roll back your mkspec to its original state and add the double $ where needed

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              1
                              • M Offline
                                M Offline
                                m4kas
                                wrote on 27 Oct 2015, 21:14 last edited by
                                #23

                                Yes i already did it. Thanks!

                                1 Reply Last reply
                                0

                                18/23

                                26 Oct 2015, 11:36

                                • Login

                                • Login or register to search.
                                18 out of 23
                                • First post
                                  18/23
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved