Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Compile Qt 4.7-stable without threads



  • Hello,

    I am having trouble compiling qt without thread support. Here is what I have tried so far (ubuntu 11.04 x86-64):

    git clone git://gitorious.org/qt/qt.git
    cd git; git checkout 4.7-stable
    ./configure -no-feature-thread
    make -j20

    And it keeps dying on objects that appear to need the QThreadData class to be defined. I tried disabling concurrency and a few other items but it still does not work. Any ideas? Is this even supported on Linux?

    I also tried building an embedded version and I got similar errors.

    Thanks!



  • Regarding the "docs":http://doc.qt.nokia.com/latest/fine-tuning-features.html disabling features is for Qt embedded, so perhaps it's not possible for the desktop versions.


Log in to reply