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

Force qmake runing

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 3.7k Views 1 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.
  • M Offline
    M Offline
    moravas
    wrote on last edited by
    #1

    Hi People,

    can somebody tell me, how can I force the running of the qmake? I would like to run qmake before every make process independently of the project changes.

    Regards,
    Norbert

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @
      qmake
      make
      @

      ... :) You probably mean in Qt Creator, though. I don't know the answer there.

      (Z(:^

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qxoz
        wrote on last edited by
        #3

        There is in Build menu Run qmake command. This is manual run. But i think there must be the way run it automatically on every project build.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          moravas
          wrote on last edited by
          #4

          Yes, it runs automaticaly before the make process, but it doesn't make anything if doesn't change anything. But I want to it doesn't check the time stamps or every changes.

          Regards,
          Norbert

          1 Reply Last reply
          0
          • P Offline
            P Offline
            paulf
            wrote on last edited by
            #5

            You could wrap everything in a little Makefile. Something like this.

            Makefile

            Makefile.qmake:
            <tab>qmake -o $@ project.pro
            <tab>${MAKE} Makefile.qmake ${MAKECMDGOALS}

            (you might want to set phony and default targets as well).

            A+
            Paul

            1 Reply Last reply
            0

            • Login

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