Results 1 to 2 of 2

Thread: qmake / make: automatic command execution before compilation start ?

  1. #1
    Join Date
    Sep 2008
    Posts
    23
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default qmake / make: automatic command execution before compilation start ?

    Hi,

    I'm using Qt4 and qmake.
    When "make" is called, I would like to automatically execute a command before the compilation is started.
    It seems I would need something like a QMAKE_PRE_COMPILATION variable, but there seems to be only a QMAKE_PRE_LINK.
    Any ideas ? Many thanks in advance !

  2. #2
    Join Date
    Oct 2011
    Location
    Australia
    Posts
    29
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: qmake / make: automatic command execution before compilation start ?

    Yes you can definitely do that. This is discussed at http://qt-project.org/doc/qt-4.8/qma...ml#customizing.

Similar Threads

  1. Start a thread automatic at start
    By ralphot in forum Qt Programming
    Replies: 3
    Last Post: 10th July 2013, 16:54
  2. QMake Automating unittest compilation and execution
    By superpacko in forum Qt Tools
    Replies: 0
    Last Post: 6th October 2012, 18:22
  3. Replies: 3
    Last Post: 23rd February 2011, 09:50
  4. Replies: 2
    Last Post: 9th February 2011, 10:33
  5. Replies: 8
    Last Post: 27th October 2009, 10:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.