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 Updated to NodeBB v4.3 + New Features

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

    jsulmJ 1 Reply Last reply
    0
    • S shashi prasad

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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
      1
      • jsulmJ jsulm

        @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 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.

        jsulmJ 1 Reply Last reply
        0
        • S shashi prasad

          @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.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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

          • Login

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