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. Установка QtConnectivity или QtMobiliy
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.1k Views 1 Watching
  • 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

    Вот такая ошибка после 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 пакетов не обновлено.
    @

    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