Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Can`t build QT Everywhere on Ubuntu 13.04 and how to install QtConnectivity?
QtWS25 Last Chance

Can`t build QT Everywhere on Ubuntu 13.04 and how to install QtConnectivity?

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 2 Posters 2.8k 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
    moroz
    wrote on last edited by
    #1

    Hello,

    When im started to ./configure it was just fine, but then when i started to 'make' ive got this:
    @arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER="" -DQLIBRARYINFO_EPOCROOT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared -Iglobal -I../../tools/shared -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared -o .obj/release-shared/qabstractanimation.o animation/qabstractanimation.cpp
    make[1]: arm-linux-g++: Command not found
    make[1]: *** [.obj/release-shared/qabstractanimation.o] Error 127
    make[1]: Leaving directory`/home/moroz/qt-lib/src/corelib'
    make: *** [sub-corelib-make_default-ordered] Error 2
    @

    And I want to use bluetooth in my app for Android, but i dont know how to build it and install, ive already download QtConnectivity.

    Sorry for my English,
    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Do you have a cross-compiler installed ?

      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
      0
      • M Offline
        M Offline
        moroz
        wrote on last edited by
        #3

        Yes, gcc-4.7-arm-linux-gnueabi

        1 Reply Last reply
        0
        • M Offline
          M Offline
          moroz
          wrote on last edited by
          #4

          And now i`m going to install g++ for arm
          For me the main question is "How to use Bluetooth Module in QT-app for Android?" and how to install this module (QtConnectivity)?

          Starting again with ./configure

          EDIT: The same Error again when started to "make"

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Is your compiler in a known path ? If not you have to tell configure where to find it (e.g. by modifying the mkspec to point directly to your cross-compiler)

            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
            0
            • M Offline
              M Offline
              moroz
              wrote on last edited by
              #6

              Yes, i`ve add cross-compiler to my PATH and there is no progress((

              How to install QTConnectivity, can you help me with this? I need to use Bluetoth and nothing more...

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                And is it really named arm-linux-g++ ?

                You need to download the sources and compile them

                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
                0
                • M Offline
                  M Offline
                  moroz
                  wrote on last edited by
                  #8

                  this what i`ve got after "make"

                  @mv -f libQt5Nfc.so.5.0.1 libQt5Nfc.so libQt5Nfc.so.5 libQt5Nfc.so.5.0 ../../lib/
                  make[2]: Выход из каталога /home/moroz/qtconnectivity/src/nfc' cd imports/ && ( test -f Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/moroz/qtconnectivity/src/imports/imports.pro -o Makefile ) && make -f Makefile make[2]: Вход в каталог /home/moroz/qtconnectivity/src/imports'
                  cd bluetooth/ && ( test -f Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/moroz/qtconnectivity/src/imports/bluetooth/bluetooth.pro -o Makefile ) && make -f Makefile
                  make[3]: Вход в каталог /home/moroz/qtconnectivity/src/imports/bluetooth' /usr/lib/i386-linux-gnu/qt5/bin/moc -DQ_USE_APPMENU -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I/usr/include/qt5 -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtQml -I../../../include -I../../../include/QtBluetooth -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I.moc/release-shared plugin.cpp -o .moc/release-shared/plugin.moc g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQ_USE_APPMENU -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I/usr/include/qt5 -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtQml -I../../../include -I../../../include/QtBluetooth -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I.moc/release-shared -o .obj/release-shared/plugin.o plugin.cpp In file included from ../../../include/QtBluetooth/qbluetoothservicediscoveryagent.h:1:0, from qdeclarativebluetoothdiscoverymodel_p.h:51, from plugin.cpp:46: ../../../include/QtBluetooth/../../src/bluetooth/qbluetoothservicediscoveryagent.h:66:28: ошибка: «InputOutputError» не является элементом «QBluetoothDeviceDiscoveryAgent» ../../../include/QtBluetooth/../../src/bluetooth/qbluetoothservicediscoveryagent.h:67:27: ошибка: «PoweredOffError» не является элементом «QBluetoothDeviceDiscoveryAgent» In file included from qdeclarativebluetoothservice_p.h:48:0, from qdeclarativebluetoothdiscoverymodel_p.h:56, from plugin.cpp:46: qdeclarativebluetoothsocket_p.h:78:36: ошибка: «UnsupportedProtocolError» не является элементом «QBluetoothSocket» make[3]: *** [.obj/release-shared/plugin.o] Ошибка 1 make[3]: Выход из каталога /home/moroz/qtconnectivity/src/imports/bluetooth'
                  make[2]: *** [sub-bluetooth-make_first] Ошибка 2
                  make[2]: Выход из каталога /home/moroz/qtconnectivity/src/imports' make[1]: *** [sub-imports-make_first-ordered] Ошибка 2 make[1]: Выход из каталога /home/moroz/qtconnectivity/src'
                  make: *** [sub-src-make_first] Ошибка 2
                  @

                  1 Reply Last reply
                  0

                  • Login

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