Important: Please read the Qt Code of Conduct -

Use qtCreator for a build built in command line

  • Hi,

    We use CMake files and it is often easier to start a build in the command line rather than in qtCreator (where setting the kit and options can get in the way). Hence my question: is there a way to reuse/import a build achieved in the command line into qtCreator (so I can debug in qtCreator for example)?

    Kind regards,


  • Moderators

    Sure, just open the .pro you created manually in Qt Creator.

  • Argh: maybe I should have mentioned that we use CMake files for our builds.

  • Moderators

    No problem, Qt Creator supports cmake, too.

    If you mean, however, to ask whether you can copy-paste kit setup easily - then no.

    You can use official Qt installers, there Qt Creator comes preconfigured with all the kits already in place.

Log in to reply