Results 1 to 3 of 3

Thread: qmake option to create pro file from vs2005 .sln

  1. #1
    Join Date
    Feb 2010
    Posts
    99
    Thanks
    31
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default qmake option to create pro file from vs2005 .sln

    Hi,

    I have VS2005 solution which contains multiple Qt projects. I created those projects in VS2005 using Qt Visual studio addin.
    Now I want to export the solution to .pro so that I can compile it using QtCreator as well. There is an option to create a pro file for the solution in Qt menu. But I want a command line option.

    I tried to use
    Qt Code:
    1. qmake -project
    To copy to clipboard, switch view to plain text mode 
    but it creates the pro file and when I open that pro file, all the projects in the sln come under same project in QtCreator. There should be separate Qt project for each vcproj under the solution.

    Is there any command line option that will do it for me.

    Thanks.

  2. #2
    Join Date
    Apr 2010
    Location
    Rostov-na-Donu, Russia
    Posts
    153
    Thanks
    2
    Thanked 26 Times in 23 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qmake option to create pro file from vs2005 .sln

    In Qt Add-in for MSVC there is a menu item in MSVC called "Create .pro file from project". Try it
    sorry. I'm careless.
    Last edited by borisbn; 22nd July 2010 at 15:59.

  3. #3
    Join Date
    Feb 2010
    Posts
    99
    Thanks
    31
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qmake option to create pro file from vs2005 .sln

    Yes, I am aware of that option, but I need command line option. Any thing on command line that can do the same.

Similar Threads

  1. Replies: 1
    Last Post: 10th March 2010, 10:12
  2. Have qmake add the C debugging option (-g)
    By kiss-o-matic in forum Qt Programming
    Replies: 5
    Last Post: 26th January 2010, 05:09
  3. qmake: removing --no-undefined option for libs.
    By davemar in forum Qt Programming
    Replies: 2
    Last Post: 14th October 2009, 09:08
  4. making qmake create VisualStudio console app project file?
    By akos.maroy in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2008, 14:45
  5. VS2005 proj file has unwanted name
    By Vanir in forum Qt Programming
    Replies: 3
    Last Post: 13th February 2008, 15:53

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.