Important: Please read the Qt Code of Conduct -

Problem with Qt-5.4.0 installation...!

  • Hi i i am trying to install Qt-5.4.0 in my desktop it has configured succesfully but while preforming make it is giving the following error.

    qxcbconnection_xi2.cpp: In member function ‘void QXcbConnection::xi2SetupDevices()’:
    qxcbconnection_xi2.cpp:178:18: error: ‘XITouchClass’ was not declared in this scope
    make[6]: *** [.obj/qxcbconnection_xi2.o] Error 1
    make[6]: Leaving directory /u02/Qt-Source/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins/platforms/xcb' make[5]: *** [sub-xcb-plugin-pro-make_first-ordered] Error 2 make[5]: Leaving directory/u02/Qt-Source/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins/platforms/xcb'
    make[4]: *** [sub-xcb-make_first] Error 2
    make[4]: Leaving directory /u02/Qt-Source/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins/platforms' make[3]: *** [sub-platforms-make_first] Error 2 make[3]: Leaving directory/u02/Qt-Source/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins'
    make[2]: *** [sub-plugins-make_first] Error 2
    make[2]: Leaving directory /u02/Qt-Source/qt-everywhere-opensource-src-5.4.0/qtbase/src' make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory/u02/Qt-Source/qt-everywhere-opensource-src-5.4.0/qtbase'
    make: *** [module-qtbase-make_first] Error 2

    I am using the OS Fedora version 14 and the configure statement that i have given is
    ./configure -qt-xcb -prefix /usr/local/Qt-5.4.0Desktop

    Please help me to find the problem
    Thanks in advance,

  • I see in the configure help that -qt-xcb states that " will still be used from the operating system". Is this installed on your system? Have you tried configuring without that option? Just a thought.

    If you do try to change the configuration, I would recommend starting with a clean source extraction, since it appears you are doing an in source build. You may want to do an out of source build while you are experimenting. Then you can just delete the build folder and start over if something goes wrong.

  • Lifetime Qt Champion


    Fedora 14 might be a bit old, you can check here if you have the minimal requirements

Log in to reply