Important: Please read the Qt Code of Conduct -

Installing (make) Qt 4.8 from source stops

  • More than an hour long process of installing (make within qt-everywhere-opensource-src-4.8.6/) stops (no writings out). Last representative rows were:

    make[3]: Leaving directory /home/branko/Downloads/qt-everywhere-opensource-src-4.8.6/examples/animation/appchooser' cd easing/ && make -f Makefile make[3]: Entering directory/home/branko/Downloads/qt-everywhere-opensource-src-4.8.6/examples/animation/easing'
    /home/branko/Downloads/qt-everywhere-opensource-src-4.8.6/bin/qmake -spec ../../../mkspecs/qws/linux-arm-gnueabi-g++ -o Makefile
    make[3]: Leaving directory /home/branko/Downloads/qt-everywhere-opensource-src-4.8.6/examples/animation/easing' make[3]: Entering directory/home/branko/Downloads/qt-everywhere-opensource-src-4.8.6/examples/animation/easing'
    /home/branko/Downloads/qt-everywhere-opensource-src-4.8.6/bin/uic form.ui -o .uic/release-shared-emb-arm/ui_form.h

    After hitting Ctrl+C I get following lines:

    make[3]: *** Deleting file `.uic/release-shared-emb-arm/ui_form.h'
    make[3]: *** [.uic/release-shared-emb-arm/ui_form.h] Interrupt
    make[2]: *** [sub-easing-make_default] Interrupt
    make[1]: *** [sub-animation-make_default] Interrupt
    make: *** [sub-examples-make_default-ordered] Interrupt

    What could be the reason for this? Is this normal that the compiling takes so long? Did it run out of resources?

    Looking forward for your suggestions,

  • Moderators

    If you do not need examples, you can skip them by passing -nomake examples to configure script.

    Please tell us the compiler you are using, OS version, and the flags you have invoked configure with.

    Qt is a big piece of software, so compilation can indeed take a long time. For me, on Linux, it takes about 30 minutes, but I am compiling with 9 threads. On Windows it takes much longer.

  • Lifetime Qt Champion


    To add to sierdzio, it's even more true if you are building webkit

  • Moderators

    [quote author="SGaist" date="1423644859"]To add to sierdzio, it's even more true if you are building webkit[/quote]

    Ah, indeed, I often skip that module completely.

  • My developing environement:

    • Ubuntu 14.04 LTS (VirtualBox hosted on Windows)
    • arm-cortexa8-linux-gnueabihf-g++ (OSELAS.Toolchain-2012.12.1 linaro-4.7-2012.11) 4.7.3 20121106 (prerelease)
    • sudo ./configure -v -xplatform qws/linux-arm-gnueabi-g++ -embedded arm -little-endian -host-big-endian -prefix /home/phytec/qt4.8-arm

    Well, I just want to test finally if my app works on the target. So I could skip examples and wbkit. Is it done so?

    -nomake examples -nomake webkit ?Ž!

  • Moderators

    -nomake demos -nomake examples -no-webkit

    Please check the web kit flag by passing --help to configure. It has changed in Qt 5 and I am not sure how it was in Qt 4.

Log in to reply