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
QtWS25 Last Chance

[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.
  • M Offline
    M Offline
    m4kas
    wrote on 22 Oct 2015, 09:16 last edited by m4kas
    #1

    Hello guyz. Im very new to Qt and already few weeks im trying to cross-compile my desktop Qt (Qt 5.5.0) app to pandaboard. OS on panda: linaro ubuntu desktop 12.11. I used this info to setup my environment. Qt config to pandaboard went almost good (few errors but compiled). Now im stuck on deploying stage.
    Here is last messages:
    /bin/sh: 1: Wl,-rpath-link,QT_SYSROOT]/usr/lib/pvr-omap4-egl: not found
    make: [bt_one] Error 127 (ignored)
    12:07:52: The process "/usr/bin/make" exited normally.
    12:07:52: Connecting to device...
    12:07:54: The remote file system has 10432 megabytes of free space, going ahead.
    12:07:54: Deploy step finished.
    12:07:54: Uploading file "/home/build-bt_one-panda-Release/bt_one"...
    12:07:54: Failed to upload file "/home/build-bt_one-panda-Release/bt_one": Could not open for reading.
    12:07:54: Deploy step failed.

    can anyone help me please?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      m4kas
      wrote on 23 Oct 2015, 19:37 last edited by
      #2

      anyone? Maybe i need provide you some extra information. Just say me what u need. I have no idea what should i do to fix that. Thank you...

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 23 Oct 2015, 20:46 last edited by
        #3

        Hi and welcome to devnet,

        What's the value of QT_SYSROOT ? The upload failure comes from the fact that your application wasn't built since the pvr_omap4-egl folder could not been found.

        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:09 last edited by
          #4

          Thanks for the answer!
          My sysroot is:
          "/mnt/panda",
          which was mounted by this command:
          "sudo sshfs -o allow_other root@192.168.1.34:/ /mnt/panda/"

          pvr-omap4-egl is actually exists:
          m4kas@m4kas-System-Product-Name:/mnt/panda/usr/lib/pvr-omap4-egl$ ls
          alt_ld.so.conf libIMGegl.so.1.9.6.0
          bin libpvr2d.so
          ld.so.conf libpvr2d.so.1.9.6.0
          libEGL.so libPVRScopeServices.so
          libEGL.so.1 libPVRScopeServices.so.1.9.6.0
          libEGL.so.1.9.6.0 libpvrws_OMAPDRI2.so
          libGLESv1_CM.so libpvrws_OMAPDRI2.so.1.9.6.0
          libGLESv1_CM.so.1 libsrv_init.so
          libGLESv1_CM.so.1.9.6.0 libsrv_init.so.1.9.6.0
          libGLESv2.so libsrv_um.so
          libGLESv2.so.1.9.6.0 libsrv_um.so.1.9.6.0
          libGLESv2.so.2 libusc.so
          libglslcompiler.so libusc.so.1.9.6.0
          libglslcompiler.so.1.9.6.0 xorg
          libIMGegl.so

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

            Are you sure that QT_SYSROOT is pointing there ?

            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:19 last edited by
              #6

              I set Sysroot option to "/mnt/panda" in my pandaboard kit settings (QT Creator > Tools > Options > Build & Run > Kits).
              Here screenshot.

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

                What's the warning about your custom Qt version ?

                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:29 last edited by
                  #8

                  Warning: no debugger set up. My program already tested and debugged, so i dont need debugger, i need just compile and run it @ pandaboard.

                  1 Reply Last reply
                  0
                  • 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

                                          1/23

                                          22 Oct 2015, 09:16

                                          • Login

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