Congratulations to our 2022 Qt Champions!

[solved] Build Qt3 app in Qt Creator 2.5

  • Hello!

    I'm trying to compile my Qt3-based app in Qt Creator 2.5. I succeded in adding Qt3 qmake in "Build&Run" settings, but got this error while trying to build project:

    @Starting: "/usr/share/qt3/bin/qmake" /home/user/ -r
    ***Unknown option -r@

    This option "- r" didn't exist in Qt3. And I can't change "Effective qmake call" introduced in "Projects->Build Steps":

    @qmake -r@

    Is there a way to repair this and in common build Qt3 app in Qt Creator 2.5?

  • Lifetime Qt Champion


    Qt Creator was not meant to handle Qt 3. What you can do however is to remove the qmake step and a custom step calling qmake with the correct list of arguments.

    Hope it helps

    On a side note, if possible you should really port that application to at least Qt 4.8.6

  • Hi, SGaist

    It works! Thanks :)

  • Lifetime Qt Champion

    You're welcome !

    Since you have it building now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

Log in to reply