Results 1 to 2 of 2

Thread: Use of *.pro and *.pri files when using Qt in Visual Studio

  1. #1
    Join Date
    May 2010
    Posts
    41
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Use of *.pro and *.pri files when using Qt in Visual Studio

    Hi,

    I've recently set up my Visual Studio 2008 to be able to build and run Qt projects. I've noticed the option to
    Create basic .pro file

    for the solution, which can also create a .pri file. The problem is that even if I do this, and modify them, both files are being completely ignored when I build. Instead, I need to make changes to the VS solution's build instructions. I'd like to be able to use the pro/pri files...even if I can't though, what is the use of that option if it just seems to ignore the files by default?

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Use of *.pro and *.pri files when using Qt in Visual Studio

    You can convert a .pro file to a visual studio project file.
    You can convert a visual studio file back to a .pro file.

    I'd say they are useful options to have.

    Of course, Visual studio will ignore the .pro file, and Qt Creator will ignore the visual studio project file.

Similar Threads

  1. Replies: 0
    Last Post: 21st April 2010, 20:13
  2. Creation of .ts Files in Visual Studio
    By Ragnaron in forum Installation and Deployment
    Replies: 0
    Last Post: 9th March 2010, 10:56
  3. visual studio project files - adding extra files
    By luf in forum Qt Programming
    Replies: 3
    Last Post: 13th June 2008, 22:05
  4. Replies: 2
    Last Post: 23rd November 2007, 18:44
  5. Visual Studio 2003 and .vcproj files
    By mbjerkne in forum General Discussion
    Replies: 2
    Last Post: 1st February 2006, 01: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.