Results 1 to 5 of 5

Thread: What is .pri files ?

  1. #1
    Join Date
    Feb 2007
    Posts
    14
    Thanks
    3

    Default What is .pri files ?

    Hello. What is .pri files ? It's look like a common .pro file, but is there some differences ? In Qt documentation I didn't find any description - can somebody give me a link ?

  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: What is .pri files ?

    It's a file that is included into a .pro file. The name scheme is just a convention, it makes sure qmake is not confused about the file and doesn't treat it as a .pro file by accident.

  3. #3
    Join Date
    Feb 2007
    Posts
    14
    Thanks
    3

    Default Re: What is .pri files ?

    Is there some description of .pri in Qt documentation ?

  4. #4
    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: What is .pri files ?

    As I said - it's just a naming convention. Everything that applies to .pro files, applies to .pri files as well. Read about "include()" function in qmake manual.

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

    burkav84 (22nd April 2007)

  6. #5
    Join Date
    Feb 2007
    Posts
    14
    Thanks
    3

    Default Re: What is .pri files ?

    Thanks a lot

Similar Threads

  1. Problem converting .ui files from Qt3 to 4
    By Amanda in forum Qt Programming
    Replies: 6
    Last Post: 28th October 2006, 04:34
  2. Replies: 5
    Last Post: 22nd September 2006, 08:04
  3. UTF-16 files
    By jcr in forum Qt Programming
    Replies: 3
    Last Post: 7th September 2006, 12:43
  4. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28
  5. Visual Studio 2003 and .vcproj files
    By mbjerkne in forum General Discussion
    Replies: 2
    Last Post: 1st February 2006, 00:51

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.