Problems with Open-Source Downloads read and

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

  • 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,

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Do you have a cross-compiler installed ?

  • Yes, gcc-4.7-arm-linux-gnueabi

  • 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"

  • Lifetime Qt Champion

    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)

  • 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...

  • Lifetime Qt Champion

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

    You need to download the sources and compile them

  • this what i`ve got after "make"

    @mv -f ../../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/ -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/ -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

Log in to reply