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. [solved] Build Qt3 app in Qt Creator 2.5
Forum Updated to NodeBB v4.3 + New Features

[solved] Build Qt3 app in Qt Creator 2.5

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.0k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    alan73
    wrote on last edited by
    #1

    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/my_project.pro -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 my_project.pro -r@

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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alan73
        wrote on last edited by
        #3

        Hi, SGaist

        It works! Thanks :)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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 :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

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