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. When executing step "qmake"
Forum Updated to NodeBB v4.3 + New Features

When executing step "qmake"

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 10.8k 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.
  • K Offline
    K Offline
    KyleD
    wrote on last edited by
    #1

    Hello all.
    I've just bought a new laptop, installed Linux Mint on it, as well as Qt.
    On the HelloWorld exercise from the book "Application Development with Qt Creator" I hit the green arrow to compile and run the project, but I'm getting the following error message.
    Many thanks if you can tell me how to resolve this.
    Thanks!

    Error while building/deploying project HelloWorldConsole (kit: Desktop Qt 5.7.1 GCC 64bit)
    When executing step "qmake"

    A 1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Kit may not have configured properly. Can u check in tools, options,build&run ? Under kits section do you see red flag ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      2
      • K Offline
        K Offline
        KyleD
        wrote on last edited by
        #3

        Nope, thanks.!
        It reads "Auto-detected"

        jsulmJ 1 Reply Last reply
        0
        • K KyleD

          Nope, thanks.!
          It reads "Auto-detected"

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @KyleD Can you show the content of the "Compile Output" tab in QtCreator?

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

          1 Reply Last reply
          0
          • K KyleD

            Hello all.
            I've just bought a new laptop, installed Linux Mint on it, as well as Qt.
            On the HelloWorld exercise from the book "Application Development with Qt Creator" I hit the green arrow to compile and run the project, but I'm getting the following error message.
            Many thanks if you can tell me how to resolve this.
            Thanks!

            Error while building/deploying project HelloWorldConsole (kit: Desktop Qt 5.7.1 GCC 64bit)
            When executing step "qmake"

            A Offline
            A Offline
            ambershark
            wrote on last edited by
            #5

            @KyleD It sounds like it can't find qmake.. If on the command line, make sure to set QTDIR to your Qt path, and include /path/to/qt/bin in your PATH.

            Then you can run qmake && make.. If that works then go back and try again with qt creator. If it still doesn't work it's almost guaranteed to be in your kit settings somewhere.

            My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

            1 Reply Last reply
            0
            • K Offline
              K Offline
              KyleD
              wrote on last edited by
              #6

              Thanks for the responses.

              At first, I didn't have g++ installed. I thought Qt would have done this for me. So, after installing g++, I now get this message in the "Application Output" tab:

              Starting /home/kyle/Documents/qt_projects/build-HelloWorldConsole-Desktop_Qt_5_7_1_GCC_64bit-Debug/HelloWorldConsole...

              And it just doesn't do anything else. But that is ok, because when I try the QtGUI example, it does work! And that's what I'm interested in.
              I'm guessing Qt just doesn't have permission to launch Terminal since I'm on Linux...

              Thanks.

              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