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. cmake does not work
Forum Updated to NodeBB v4.3 + New Features

cmake does not work

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 362 Views 2 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.
  • T Offline
    T Offline
    thomasGl
    wrote on last edited by
    #1

    hey guys. What i have to change in the cmake.txt.?1.png 2.png

    Pl45m4P 1 Reply Last reply
    0
    • T thomasGl

      hey guys. What i have to change in the cmake.txt.?1.png 2.png

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @thomasGl

      I don't know what you are trying to do. If you are not sure how to do all this, create a new CMake project in QtCreator through the wizard, either with or without Qt and either a GUI or simple console application.
      You will get a working project template with a proper CMakeLists.txt.

      Btw: Still don't understand why you start with this old Qt version and minimum CMake 2.8. Since you have nothing to "port" to a newer version which might cause issues, you can upgrade to Qt 6 (6.5 or 6.7) and go from there.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      0
      • T Offline
        T Offline
        thomasGl
        wrote on last edited by thomasGl
        #3

        I am trying to build an object file and a .exe

        1 Reply Last reply
        0
        • T Offline
          T Offline
          thomasGl
          wrote on last edited by
          #4

          1.png

          1 Reply Last reply
          0
          • T Offline
            T Offline
            thomasGl
            wrote on last edited by
            #5

            i made a new file but it cant build that. I did not change anything.

            1 Reply Last reply
            0
            • T Offline
              T Offline
              thomasGl
              wrote on last edited by
              #6

              1.png

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

                Hi,

                What you are trying to do is clear however the question stays:

                • why are you using such an old and outdated stack ?

                Please install a recent version of Qt such as 6.7.
                The online installer also provides cmake, ninja and MinGW so you would have everything up to date and tested to work.

                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
                1

                • Login

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