Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Compilation Process in Qt Creator using command prompt.
Forum Updated to NodeBB v4.3 + New Features

Compilation Process in Qt Creator using command prompt.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 534 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
    Sharathkumar T
    wrote on 15 Sept 2022, 07:14 last edited by
    #1

    Hi, I am trying to run my qt project(Qt creator IDE ) on my windows system using command prompt. I want to run my project using command line execution to understand the qt compilation process.

    I have tried running my project, .pro file using qmake, so makefile and stash files are generated.
    but, I am failing to run next command, the following attached screenshot to generate build path and how executables are generated.

    I have my projects in E drive and I am running them in the same directory and I am able to get the make and stash file, then later for the second step of process to give myClass.Debug file to the compiler so I am trying to run them on mingw, C path directory providing my debug file path and running qmake.

    Screenshot (103).png Screenshot (102).png

    J 1 Reply Last reply 15 Sept 2022, 11:31
    0
    • S Sharathkumar T
      15 Sept 2022, 07:14

      Hi, I am trying to run my qt project(Qt creator IDE ) on my windows system using command prompt. I want to run my project using command line execution to understand the qt compilation process.

      I have tried running my project, .pro file using qmake, so makefile and stash files are generated.
      but, I am failing to run next command, the following attached screenshot to generate build path and how executables are generated.

      I have my projects in E drive and I am running them in the same directory and I am able to get the make and stash file, then later for the second step of process to give myClass.Debug file to the compiler so I am trying to run them on mingw, C path directory providing my debug file path and running qmake.

      Screenshot (103).png Screenshot (102).png

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 15 Sept 2022, 11:31 last edited by jsulm
      #2

      @Sharathkumar-T After running qmake you simply run make or mingw32-make.exe. I don't know what you're trying to achieve with "qmake.exe E:\ExampleCode..." - this does not make sense.
      Also, on windows you need to add .exe suffix to make.

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

      D 1 Reply Last reply 22 Sept 2022, 08:05
      0
      • J jsulm
        15 Sept 2022, 11:31

        @Sharathkumar-T After running qmake you simply run make or mingw32-make.exe. I don't know what you're trying to achieve with "qmake.exe E:\ExampleCode..." - this does not make sense.
        Also, on windows you need to add .exe suffix to make.

        D Offline
        D Offline
        domenicpetit
        wrote on 22 Sept 2022, 08:05 last edited by
        #3

        @jsulm said in Compilation Process in Qt Creator using command prompt.:

        @Sharathkumar-T After running qmake you simply run make or mingw32-make.exe. I don't know what you're trying to achieve with "qmake.exe E:\ExampleCode..." - this does not make sense.
        Also, on windows you need to add .exe suffix to make.

        Thanks a lot for your advice

        1 Reply Last reply
        0

        1/3

        15 Sept 2022, 07:14

        • Login

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