Results 1 to 8 of 8

Thread: Equivalent of #define in .pro file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanked 342 Times in 324 Posts

    Default Re: Equivalent of #define in .pro file

    Opening curly bracket must be on the same line with "contains()":
    Qt Code:
    1. // wrong
    2. contains(...)
    3. {
    4.  
    5. // good
    6. contains(...) {
    To copy to clipboard, switch view to plain text mode 
    I think its somewhere in the qmake docs.

  2. The following user says thank you to stampede for this useful post:

    sattu (11th April 2014)

Similar Threads

  1. How to tranlaste #define and text from file
    By stevocz in forum Qt Programming
    Replies: 24
    Last Post: 18th December 2013, 08:06
  2. How to define a string marco in pro file
    By jevonwang in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 6th May 2013, 05:49
  3. QMake how to define install target of lib in the .pro file
    By thgis in forum Qt Tools
    Replies: 1
    Last Post: 15th April 2013, 12:59
  4. How to define a string in a .pro file
    By ChristineD in forum Newbie
    Replies: 4
    Last Post: 16th October 2012, 17:14
  5. qmake rc file define version
    By cafu1007 in forum Qt Programming
    Replies: 3
    Last Post: 26th January 2012, 16:38

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.