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. Qt 5.6 Linux compile fails

Qt 5.6 Linux compile fails

Scheduled Pinned Locked Moved Solved General and Desktop
qt 5.6linux mintstatic build
3 Posts 2 Posters 1.9k 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.
  • J Offline
    J Offline
    Jedd
    wrote on 31 Mar 2016, 20:48 last edited by
    #1

    My linux build of 5.6 is failing. I believe I've installed all dependencies, my compile string is a mod of my successful compile of 5.4.2.

    The tail-end of the compile:

    qt-everywhere-opensource-src-5.6.0/qtdeclarative/lib/libQt5Qml.a(qqmldebugconnector.o):qqmldebugconnector.cpp:function
    _GLOBAL__sub_I_qqmldebugconnector.cpp: error: undefined reference to
    'qt_static_plugin_QQmlInspectorServiceFactory()'
    collect2: error: ld returned 1 exit status
    make[3]: *** [../../bin/qml] Error 1
    make[3]: Leaving directory
    /home/jedevnull/qt-everywhere-opensource-src-5.6.0/qtdeclarative/tools/qml' make[2]: *** [sub-qml-make_first] Error 2 make[2]: Leaving directory /home/jedevnull/qt-everywhere-opensource-src-5.6.0/qtdeclarative/tools'
    make[1]: *** [sub-tools-make_first] Error 2
    make[1]: Leaving directory
    `/home/jedevnull/qt-everywhere-opensource-src-5.6.0/qtdeclarative'
    make: *** [module-qtdeclarative-make_first] Error 2

    My configure command:

    ./configure -no-opengl -no-fontconfig -release -fontconfig -qt-libpng -qt-zlib -qt-freetype -static -prefix /home/jdevnull/Qt/5.6/static -confirm-license -opensource -nomake examples -no-xcb-xlib -qt-xcb -no-dbus -nomake tests -skip qtquickcontrols -skip qtquickcontrols2 -qt-xkbcommon

    Thanks for any help!

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Paul Colby
      wrote on 1 Apr 2016, 00:23 last edited by
      #2

      The build error appears to be in the "in-process QML debugging support"... probably as a side-affect of you using "-skip qtquickcontrols -skip qtquickcontrols2".

      I had a quick go with your configure command, and reproduced the same issue. I then added "-no-qml-debug" to then end of the the configure command, and the problem went away (note, I needed a clean source tree between re-configuring).

      So, assuming you don't care about QML debugging (you are skipping some Qt Quick modules after all), then simply adding "-no-qml-debug" will probably resolve the build issue (works for me).

      Cheers,

      pc.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jedd
        wrote on 1 Apr 2016, 02:24 last edited by
        #3

        Thatt did the trick, thanks!

        1 Reply Last reply
        0

        2/3

        1 Apr 2016, 00:23

        • Login

        • Login or register to search.
        2 out of 3
        • First post
          2/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved