Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5 with conan/cmake.
Forum Updated to NodeBB v4.3 + New Features

Qt5 with conan/cmake.

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 921 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.
  • N Offline
    N Offline
    nmateo
    wrote on last edited by nmateo
    #1

    Before i used the repository conan.bintray.com to download/use qt5 with conan and cmake.
    Now they switched to center.conan.io, fine i switched but i changed nothing to my code and all of a sudden i got an aborted core while launching my executable and i have the libqxcb.a in the path indicated..:

    [nmateo@localhost tari]$ ./build/bin/tari_desktop_wallet -lqxcb
    QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static builds
    QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static builds
    qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/bin/archdatadir/plugins/platforms"
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    Aborted (core dumped)
    
    

    I never imported QPlugin, my imports are as follow:

    #include <QtWidgets/QApplication>
    #include <QtWidgets/QPushButton>
    #include <QtWidgets/QLineEdit>
    #include <QVector>
    #include <QLineEdit>
    #include <QWidget>
    

    Here is my conanfile.txt

    [requires]
    qt/5.15.3
    boost/1.76.0
    
    [generators]
    cmake
    
    [options]
    qt:shared=False
    

    and my CMake:

    project(TariDesktopWallet)
    cmake_minimum_required(VERSION 2.8.12)
    add_definitions("-fPIC")
    
    set(CONAN_DISABLE_CHECK_COMPILER ON)
    include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
    conan_basic_setup()
    
    set(CMAKE_AUTOMOC ON)
    set(CMAKE_AUTORCC ON)
    set(CMAKE_AUTOUIC ON)
    find_package(Qt5 COMPONENTS Core Widgets REQUIRED)
    
    include_directories(${CMAKE_INCLUDE_PATH} include)
    add_executable(tari_desktop_wallet
        src/main.cpp
        src/client/Client.cpp
        src/client/GuiClientManager.cpp
        src/client/ThreadManager.cpp
        include/IGuiClientManager.hpp)
    
    target_link_libraries(tari_desktop_wallet PRIVATE ${CONAN_LIBS})
    if ( CMAKE_COMPILER_IS_GNUCXX )
        target_compile_options(tari_desktop_wallet PRIVATE "-Wextra" "-Wall")  
    endif()
    if ( MSVC )
        target_compile_options(tari_dekstop_wallet PRIVATE "/W4" "WX")
    endif()
    
    project(TariDesktopWallet)
    cmake_minimum_required(VERSION 2.8.12)
    add_definitions("-fPIC")
    
    set(CONAN_DISABLE_CHECK_COMPILER ON)
    include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
    conan_basic_setup()
    
    set(CMAKE_AUTOMOC ON)
    set(CMAKE_AUTORCC ON)
    set(CMAKE_AUTOUIC ON)
    find_package(Qt5 COMPONENTS Core Widgets REQUIRED)
    
    include_directories(${CMAKE_INCLUDE_PATH} include)
    add_executable(tari_desktop_wallet
        src/main.cpp
        src/client/Client.cpp
        src/client/GuiClientManager.cpp
        src/client/ThreadManager.cpp
        include/IGuiClientManager.hpp)
    
    target_link_libraries(tari_desktop_wallet PRIVATE ${CONAN_LIBS})
    if ( CMAKE_COMPILER_IS_GNUCXX )
        target_compile_options(tari_desktop_wallet PRIVATE "-Wextra" "-Wall")  
    endif()
    if ( MSVC )
        target_compile_options(tari_dekstop_wallet PRIVATE "/W4" "WX")
    endif()
    

    My code where i used Qt worked before so i dont think it is this, but in case you need it:

    file1:
    #ifndef CPP_IGUICLIENT_MANAGER_HPP_
    #define CPP_IGUICLIENT_MANAGER_HPP_
    
    //#include <QtPlugin>
    #include <QtWidgets/QApplication>
    #include <QtWidgets/QPushButton>
    #include <QtWidgets/QLineEdit>
    #include <QVector>
    #include <QLineEdit> 
    #include <QWidget>
    #include <map>
    #include <string>
    #include <iostream>
    
    //Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
    
    class IGuiClientManager
    {
        private:
            virtual void configWindow(const int sizeX, const int sizeY, const char *windowTitle) = 0;
            virtual void showWindow() = 0;
    };
    
    class GuiClientManager : public QObject 
    {
    
        Q_OBJECT
        public:
    
            /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
             * GuiClientManager Constructor                                  *
             * param 1: argc (passed by ref, must be 0 or greater)           *
             * param 2: argv (needs to contain at least on valid char *)     *
             * info: member var "_app" has no default constructor, needs an  *
             * initialistion list                                            *
             *                                                               *
             * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
            GuiClientManager(int &argc, char **argv);
    
            /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
             * GuiClientManager Destructor                                   *
             *                                                               *
             * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    
            ~GuiClientManager();
            
            /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
             * Configure the window in "_window" member variable             *
             * param 1: witdh of the window                                  *
             * param 2: height of the window                                 *
             * param 3: title of the window                                  *
             *                                                               *
             * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
     
            void configWindow(const int sizeX, const int sizeY, const char *windowTitle);
    
            /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
             * Execute the app                                               *
             *                                                               *
             * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    
            void execApp();
    
            /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
             * Show the window in "_window" member variable                  *
             *                                                               *
             * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    
            void showWindow();
    
            /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
             * Show a QPushButton                                            *
             * param 1: key of the button in "_buttons" memeber variable     *
             * param 2: horizontal pos                                       *
             * param 3: vertical pos                                         *
             *                                                               *
             * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    
            QPushButton *createButton(const char *buttonText, int posX, int posY, int whichCase);
       
            /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
             * Show a QPushButton                                            *
             * param 1: key of the button in "_buttons" memeber variable     *
             * param 2: horizontal pos                                       *
             * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    
            QLineEdit *createTextInput(const char *buttonText, int posX, int posY);
    
        public slots:
    
            /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
             * Called on connect button click                                *
             *                                                               *
             * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    
            void connectClicked();
    
            /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
             * Called on call button click                                   *
             *                                                               *
             * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    
            void callClicked(); 
        private:
            int _volume;
            QApplication _app;
            QWidget _window;
        public:
            QLineEdit *_ip;
            QLineEdit *_port;
            QLineEdit *_user;
            
            QPushButton *_connect;
            QPushButton *_call;
    
            QString _strUser;
            QString _strIp;
            QString _strPort;
            QString _strCurrSelectedUser;
    };
    
    #endif /*CPP_IGUICLIENT_MANAGER_HPP_*/
    
    file2:
    #include "IGuiClientManager.hpp"
    #include <utility>
    #include <map>
    
    GuiClientManager::GuiClientManager(int &argc, char **argv) :
        _app(argc, argv)
    {
        this->_volume = 0;
    
    }
    
    GuiClientManager::~GuiClientManager()
    {
        
    }
    
    void GuiClientManager::execApp()
    {
        this->_app.exec();
    }
    
    void GuiClientManager::configWindow(const int sizeX, const int sizeY, const char *windowTitle)
    {
        this->_window.resize(sizeX, sizeY);
        this->_window.setWindowTitle(windowTitle);
    }
    
    void GuiClientManager::showWindow()
    {
        this->_window.show();
    }
    
    QPushButton *GuiClientManager::createButton(const char *buttonText, int posX, int posY, int whichCase)
    {
        const QString text(buttonText);
        QPushButton *tmpButton = new QPushButton(text, &this->_window);
        tmpButton->move(posX, posY); 
        tmpButton->show();
        switch (whichCase)
        {
            case 0:
                connect(tmpButton, &QPushButton::clicked, this, &GuiClientManager::connectClicked);
                break;
            default:
                break;
        }
        return tmpButton;
    }
    
    QLineEdit *GuiClientManager::createTextInput(const char *buttonText, int posX, int posY)
    {
        const QString text(buttonText);
        QLineEdit *tmpTextInputs = new QLineEdit(text, &this->_window);
        tmpTextInputs->move(posX, posY);
        tmpTextInputs->show();
        return tmpTextInputs;
    }
    
    
    void GuiClientManager::connectClicked()
    {
        this->_strUser = this->_user->text();
        this->_strIp = this->_ip->text();
        this->_strPort = this->_port->text();
        std::cout << _strUser.toStdString() << ": user" <<std::endl << _strIp.toStdString() << ": ip" << std::endl;
    }
    
    void GuiClientManager::callClicked()
    {
        
    }
    
    

    Why does it even add plugins now? and when i add Qxcb to the CMake i get multiple undefined references when compiling:

    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbintegration.o): in function `QXcbIntegration::themeNames() const':
    qxcbintegration.cpp:(.text._ZNK15QXcbIntegration10themeNamesEv+0x6): undefined reference to `QGenericUnixTheme::themeNames()'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbintegration.o): in function `QXcbIntegration::createPlatformTheme(QString const&) const':
    qxcbintegration.cpp:(.text._ZNK15QXcbIntegration19createPlatformThemeERK7QString+0x4): undefined reference to `QGenericUnixTheme::createUnixTheme(QString const&)'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbintegration.o): in function `QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**)':
    qxcbintegration.cpp:(.text._ZN15QXcbIntegrationC2ERK11QStringListRiPPc+0x77): undefined reference to `vtable for QGenericUnixServices'
    /usr/bin/ld: qxcbintegration.cpp:(.text._ZN15QXcbIntegrationC2ERK11QStringListRiPPc+0x4e6): undefined reference to `vtable for QFontconfigDatabase'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbkeyboard.o): in function `QXcbKeyboard::possibleKeys(QKeyEvent const*) const':
    qxcbkeyboard.cpp:(.text._ZNK12QXcbKeyboard12possibleKeysEPK9QKeyEvent+0x16): undefined reference to `QXkbCommon::possibleKeys(xkb_state*, QKeyEvent const*, bool, bool)'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbkeyboard.o): in function `QXcbKeyboard::initialize()':
    qxcbkeyboard.cpp:(.text._ZN12QXcbKeyboard10initializeEv+0x20): undefined reference to `QXkbCommon::setXkbContext(QPlatformInputContext*, xkb_context*)'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbkeyboard.o): in function `QXcbKeyboard::keymapFromCore(QMap<unsigned int, int> const&)':
    qxcbkeyboard.cpp:(.text._ZN12QXcbKeyboard14keymapFromCoreERK4QMapIjiE+0x686): undefined reference to `QXkbCommon::xkbcommon_XConvertCase(unsigned int, unsigned int*, unsigned int*)'
    /usr/bin/ld: qxcbkeyboard.cpp:(.text._ZN12QXcbKeyboard14keymapFromCoreERK4QMapIjiE+0x6cb): undefined reference to `QXkbCommon::xkbcommon_XConvertCase(unsigned int, unsigned int*, unsigned int*)'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbkeyboard.o): in function `QXcbKeyboard::updateKeymap()':
    qxcbkeyboard.cpp:(.text._ZN12QXcbKeyboard12updateKeymapEv+0xd1): undefined reference to `QXkbCommon::verifyHasLatinLayout(xkb_keymap*)'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbkeyboard.o): in function `QXcbKeyboard::handleKeyEvent(unsigned int, QEvent::Type, unsigned char, unsigned short, unsigned int, bool)':
    qxcbkeyboard.cpp:(.text._ZN12QXcbKeyboard14handleKeyEventEjN6QEvent4TypeEhtjb+0xbc): undefined reference to `QXkbCommon::lookupString(xkb_state*, unsigned int)'
    /usr/bin/ld: qxcbkeyboard.cpp:(.text._ZN12QXcbKeyboard14handleKeyEventEjN6QEvent4TypeEhtjb+0xf6): undefined reference to `QXkbCommon::keysymToQtKey(unsigned int, QFlags<Qt::KeyboardModifier>, xkb_state*, unsigned int, bool, bool)'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_basic.o): in function `QXcbBasicConnection::initializeXInput2()':
    qxcbconnection_basic.cpp:(.text._ZN19QXcbBasicConnection17initializeXInput2Ev+0x12): undefined reference to `xcb_input_id'
    /usr/bin/ld: qxcbconnection_basic.cpp:(.text._ZN19QXcbBasicConnection17initializeXInput2Ev+0x4f): undefined reference to `xcb_input_xi_query_version'
    /usr/bin/ld: qxcbconnection_basic.cpp:(.text._ZN19QXcbBasicConnection17initializeXInput2Ev+0x5c): undefined reference to `xcb_input_xi_query_version_reply'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_basic.o): in function `QXcbBasicConnection::QXcbBasicConnection(char const*)':
    qxcbconnection_basic.cpp:(.text._ZN19QXcbBasicConnectionC2EPKc+0x1c1): undefined reference to `xcb_input_id'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::xi2SelectStateEvents()':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection20xi2SelectStateEventsEv+0x2d): undefined reference to `xcb_input_xi_select_events'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::xi2SelectDeviceEvents(unsigned int)':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection21xi2SelectDeviceEventsEj+0x44): undefined reference to `xcb_input_xi_select_events_checked'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::xi2SetMouseGrabEnabled(unsigned int, bool)':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection22xi2SetMouseGrabEnabledEjb+0xce): undefined reference to `xcb_input_xi_grab_device'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection22xi2SetMouseGrabEnabledEjb+0xe0): undefined reference to `xcb_input_xi_grab_device_reply'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection22xi2SetMouseGrabEnabledEjb+0x197): undefined reference to `xcb_input_xi_ungrab_device_checked'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::xi2UpdateScrollingDevice(QXcbConnection::ScrollingDevice&)':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection24xi2UpdateScrollingDeviceERNS_15ScrollingDeviceE+0x1c): undefined reference to `xcb_input_xi_query_device'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection24xi2UpdateScrollingDeviceERNS_15ScrollingDeviceE+0x29): undefined reference to `xcb_input_xi_query_device_reply'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection24xi2UpdateScrollingDeviceERNS_15ScrollingDeviceE+0x9d): undefined reference to `xcb_input_xi_query_device_infos_iterator'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection24xi2UpdateScrollingDeviceERNS_15ScrollingDeviceE+0xa5): undefined reference to `xcb_input_xi_device_info_classes_iterator'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection24xi2UpdateScrollingDeviceERNS_15ScrollingDeviceE+0xc4): undefined reference to `xcb_input_device_class_next'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection24xi2UpdateScrollingDeviceERNS_15ScrollingDeviceE+0x123): undefined reference to `xcb_input_device_class_next'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::xi2SelectDeviceEventsCompatibility(unsigned int)':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection34xi2SelectDeviceEventsCompatibilityEj+0xb9): undefined reference to `xcb_input_xi_select_events_checked'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection34xi2SelectDeviceEventsCompatibilityEj+0x210): undefined reference to `xcb_input_xi_select_events'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection34xi2SelectDeviceEventsCompatibilityEj+0x70a): undefined reference to `xcb_input_xi_select_events'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::populateTouchDevices(void*)':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection20populateTouchDevicesEPv+0x93): undefined reference to `xcb_input_xi_device_info_classes_iterator'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection20populateTouchDevicesEPv+0x10e): undefined reference to `xcb_input_device_class_next'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection20populateTouchDevicesEPv+0x23b): undefined reference to `xcb_input_device_class_next'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection20populateTouchDevicesEPv+0x290): undefined reference to `xcb_input_xi_device_info_name_length'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection20populateTouchDevicesEPv+0x29c): undefined reference to `xcb_input_xi_device_info_name'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::xi2HandleTabletEvent(void const*, QXcbConnection::TabletData*)':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection20xi2HandleTabletEventEPKvPNS_10TabletDataE+0xc1): undefined reference to `xcb_input_xi_get_property'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection20xi2HandleTabletEventEPKvPNS_10TabletDataE+0xce): undefined reference to `xcb_input_xi_get_property_reply'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection20xi2HandleTabletEventEPKvPNS_10TabletDataE+0x108): undefined reference to `xcb_input_xi_get_property_items'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::xi2SetupDevice(void*, bool)':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection14xi2SetupDeviceEPvb+0x1e2): undefined reference to `xcb_input_xi_device_info_classes_iterator'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection14xi2SetupDeviceEPvb+0x23c): undefined reference to `xcb_input_device_class_next'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection14xi2SetupDeviceEPvb+0x2aa): undefined reference to `xcb_input_xi_device_info_name_length'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection14xi2SetupDeviceEPvb+0x2b5): undefined reference to `xcb_input_xi_device_info_name'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection14xi2SetupDeviceEPvb+0xc04): undefined reference to `xcb_input_button_class_labels'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection14xi2SetupDeviceEPvb+0x106e): undefined reference to `xcb_input_xi_device_info_name'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::xi2HandleDeviceChangedEvent(void*)':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection27xi2HandleDeviceChangedEventEPv+0x23): undefined reference to `xcb_input_xi_query_device'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection27xi2HandleDeviceChangedEventEPv+0x30): undefined reference to `xcb_input_xi_query_device_reply'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection27xi2HandleDeviceChangedEventEPv+0x99): undefined reference to `xcb_input_xi_query_device_infos_iterator'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::xi2SetupDevices()':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection15xi2SetupDevicesEv+0xd6): undefined reference to `xcb_input_xi_query_device'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection15xi2SetupDevicesEv+0xe3): undefined reference to `xcb_input_xi_query_device_reply'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection15xi2SetupDevicesEv+0xfc): undefined reference to `xcb_input_xi_query_device_infos_iterator'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection15xi2SetupDevicesEv+0x11c): undefined reference to `xcb_input_xi_device_info_next'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection15xi2SetupDevicesEv+0x14b): undefined reference to `xcb_input_xi_device_info_next'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbconnection_xi2.o): in function `QXcbConnection::xi2ProcessTouch(void*, QXcbWindow*)':
    qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection15xi2ProcessTouchEPvP10QXcbWindow+0x4fd): undefined reference to `xcb_input_xi_allow_events'
    /usr/bin/ld: qxcbconnection_xi2.cpp:(.text._ZN14QXcbConnection15xi2ProcessTouchEPvP10QXcbWindow+0x753): undefined reference to `xcb_input_xi_allow_events'
    /usr/bin/ld: /home/nmateo/.conan/data/qt/5.15.3/_/_/package/9b92a0407c7a59d5e50f33610a518252f7a2ff58/lib/libQt5XcbQpa.a(qxcbscreen.o): in function `QXcbScreen::QXcbScreen(QXcbConnection*, QXcbVirtualDesktop*, unsigned int, xcb_randr_get_output_info_reply_t*, xcb_xinerama_screen_info_t const*, int)':
    qxcbscreen.cpp:(.text._ZN10QXcbScreenC2EP14QXcbConnectionP18QXcbVirtualDesktopjP33xcb_randr_get_output_info_reply_tPK26xcb_xinerama_screen_info_ti+0xee): undefined reference to `QEdidParser::QEdidParser()'
    /usr/bin/ld: qxcbscreen.cpp:(.text._ZN10QXcbScreenC2EP14QXcbConnectionP18QXcbVirtualDesktopjP33xcb_randr_get_output_info_reply_tPK26xcb_xinerama_screen_info_ti+0x441): undefined reference to `QEdidParser::parse(QByteArray const&)'
    
    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