Results 1 to 3 of 3

Thread: How to specify compiler version in project file

  1. #1
    Join Date
    Mar 2007
    Posts
    29
    Thanks
    2

    Default How to specify compiler version in project file

    Hi all,
    how may I specify the compiler to use in make process into .pro file? I have two gcc versions installed on my machine (gcc4 and gcc3.4) and I want to use the second one. If I specify in .pro file "CC=gcc34", the Makefile is done again with CC=gcc.

    Somebody may help me?

    Thanks,
    Michele De Candia

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to specify compiler version in project file

    QMAKE_CC variable is responsible for that.

  3. The following user says thank you to wysota for this useful post:

    mdecandia (18th May 2007)

  4. #3
    Join Date
    Mar 2007
    Posts
    29
    Thanks
    2

    Default Re: How to specify compiler version in project file

    I've just founded

    QMAKE_CC = gcc34

    Bye
    Michele

Similar Threads

  1. Replies: 15
    Last Post: 21st April 2007, 17:46

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.