Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Is there a tool for converting qmake and cmake files to each other? One-click conversion, easy to use!

Is there a tool for converting qmake and cmake files to each other? One-click conversion, easy to use!

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 4 Posters 5.9k Views
  • 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.
  • firecatF Offline
    firecatF Offline
    firecat
    wrote on last edited by
    #1

    Is there a tool for converting qmake and cmake files to each other?
    Conversion tool between .pro file and .CMakeLists.txt file,One-click conversion, easy to use!
    Does the official Qt development team have plans to develop this tool?
    Thank you!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I don't know of such tool and I have not heard of any plans to develop it. I may be missing some information though.

      In any case, I think it's good to learn both if you are developing Qt apps. qmake is the (still) Qt standard, easy to use. cmake is the c++ standard - super powerful, with crazy and annoying syntax, but it makes some tasks actually easier than qmake.

      (Z(:^

      1 Reply Last reply
      1
      • Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Qt has a script for easy pro files in the qt repo: qtbase/util/cmake/pro2cmake.py

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        firecatF 1 Reply Last reply
        8
        • aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          The direct link is: https://code.qt.io/cgit/qt/qtbase.git/tree/util/cmake/pro2cmake.py

          Qt has to stay free or it will die.

          1 Reply Last reply
          4
          • Christian EhrlicherC Christian Ehrlicher

            Qt has a script for easy pro files in the qt repo: qtbase/util/cmake/pro2cmake.py

            firecatF Offline
            firecatF Offline
            firecat
            wrote on last edited by
            #5

            @Christian-Ehrlicher Is there a tool for cmake2pro?

            aha_1980A 1 Reply Last reply
            0
            • firecatF firecat

              @Christian-Ehrlicher Is there a tool for cmake2pro?

              aha_1980A Offline
              aha_1980A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @firecat Not that I'm aware of.

              Regards

              Qt has to stay free or it will die.

              firecatF 1 Reply Last reply
              0
              • aha_1980A aha_1980

                @firecat Not that I'm aware of.

                Regards

                firecatF Offline
                firecatF Offline
                firecat
                wrote on last edited by
                #7

                @aha_1980 ok,thank you!

                1 Reply Last reply
                1

                • Login

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