Установка QtConnectivity или QtMobiliy



  • Вот такая ошибка после make для qtconnectivity

    @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
    @

    и вот такая после Make для mobility

    @Create header /home/moroz/qt-mobility/include/QtServiceFramework/QServicePluginInterface
    Running qmake...
    Reading /home/moroz/qt-mobility/src/src.pro
    Reading /home/moroz/qt-mobility/src/global/global.pro
    Reading /home/moroz/qt-mobility/src/connectivity/connectivity.pro
    Project MESSAGE: Unsupported bluetooth platform, will not build a working QBluetooth library
    Project MESSAGE: Either no Qt dBus found, no bluez headers, or not symbian
    Reading /home/moroz/qt-mobility/tools/tools.pro
    Reading /home/moroz/qt-mobility/tools/ndefhandlergen/ndefhandlergen.pro
    Reading /home/moroz/qt-mobility/plugins/plugins.pro
    Reading /home/moroz/qt-mobility/plugins/declarative/declarative.pro
    Reading /home/moroz/qt-mobility/plugins/declarative/connectivity/connectivity.pro
    Project WARNING: qtAddLibrary() is deprecated. Use qtAddModule() or QT+= instead.
    Project ERROR: No module matching library 'QtConnectivity' found.

    configure failed.
    moroz@moroz:~/qt-mobility$ sudo apt-get libbluetooth-dev
    [sudo] password for moroz:
    E: Неверная операция libbluetooth-dev
    moroz@moroz:~/qt-mobility$ sudo apt-get install libbluetooth-dev
    Чтение списков пакетов… Готово
    Построение дерева зависимостей
    Чтение информации о состоянии… Готово
    Уже установлена самая новая версия libbluetooth-dev.
    обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 59 пакетов не обновлено.
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.