Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. compilation issue with Qt src code of 5.6.2 using cmake in window
Forum Update on Monday, May 27th 2025

compilation issue with Qt src code of 5.6.2 using cmake in window

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 1.0k 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.
  • S Offline
    S Offline
    shashi prasad
    wrote on 20 Jul 2017, 05:46 last edited by
    #1

    Hi
    i downloaded src code of QT 5.6.2 for window and try to compie using cmake but getting error as

    CMake Error: The source directory "C:/Users/shashi.p/Desktop/QTCODE/qt-everywhere-opensource-src-5.6.2" does not appear to contain CMakeLists.txt.
    Specify --help for usage, or press the help button on the CMake GUI.

    i checked CMakeLists.txt but this file exist.

    please suggest me how to resolve this issue.

    Thanks
    Shashi

    J 1 Reply Last reply 20 Jul 2017, 07:03
    0
    • S shashi prasad
      20 Jul 2017, 05:46

      Hi
      i downloaded src code of QT 5.6.2 for window and try to compie using cmake but getting error as

      CMake Error: The source directory "C:/Users/shashi.p/Desktop/QTCODE/qt-everywhere-opensource-src-5.6.2" does not appear to contain CMakeLists.txt.
      Specify --help for usage, or press the help button on the CMake GUI.

      i checked CMakeLists.txt but this file exist.

      please suggest me how to resolve this issue.

      Thanks
      Shashi

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 20 Jul 2017, 07:03 last edited by
      #2

      @shashi-prasad To build Qt you first need to configure it. To do so you need to call the "configure" script.
      "i checked CMakeLists.txt but this file exist" - where exactly?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply 20 Jul 2017, 13:09
      1
      • J jsulm
        20 Jul 2017, 07:03

        @shashi-prasad To build Qt you first need to configure it. To do so you need to call the "configure" script.
        "i checked CMakeLists.txt but this file exist" - where exactly?

        S Offline
        S Offline
        shashi prasad
        wrote on 20 Jul 2017, 13:09 last edited by
        #3

        @jsulm said in compilation issue with Qt src code of 5.6.2 using cmake in window:

        CMakeLists.txt

        so many CMakeLists.txt is there in this code, which one i should check. please suggest me.

        J 1 Reply Last reply 21 Jul 2017, 04:20
        0
        • S shashi prasad
          20 Jul 2017, 13:09

          @jsulm said in compilation issue with Qt src code of 5.6.2 using cmake in window:

          CMakeLists.txt

          so many CMakeLists.txt is there in this code, which one i should check. please suggest me.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 21 Jul 2017, 04:20 last edited by
          #4

          @shashi-prasad I never used CMake to build Qt. Why don't you do in the way it is supposed to be built?

          configure
          make
          make install
          

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          3/4

          20 Jul 2017, 13:09

          • Login

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