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. What is the purpose of 'make qmake_all'?
QtWS25 Last Chance

What is the purpose of 'make qmake_all'?

Scheduled Pinned Locked Moved Solved General and Desktop
makeqmake
3 Posts 2 Posters 921 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.
  • M Offline
    M Offline
    Maluna34
    wrote on 31 Jul 2022, 17:57 last edited by
    #1

    Hello !

    I'm trying to build a Qt project from the command line.
    So I looked at the commands run in Qt Creator when building a project.
    And after the qmake, I saw a make qmake_all.

    So basically, instead of having:

    qmake
    make
    

    we have:

    qmake
    make qmake_all
    make
    

    But what is exactly the goal of make qmake_all? Do I need to run it?
    It seems that it's running all the qmake of subprojects but by running make it's also doing it. Do I keep it?

    Thanks for your help!!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 31 Jul 2022, 18:07 last edited by
      #2

      Hi,

      This is just speculation but if memory serves well, people often forget to rerun qmake when adding or removing the Q_OBJECT macro and thus having build issues. That target was likely added to the Qt Creator flow to avoid this failure that triggered quite a few threads on this forum.

      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
      • M Offline
        M Offline
        Maluna34
        wrote on 31 Jul 2022, 20:29 last edited by
        #3

        Ok I understand. Thank you!

        1 Reply Last reply
        0

        1/3

        31 Jul 2022, 17:57

        • 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