PDA

View Full Version : qmake option to create pro file from vs2005 .sln



dpatel
22nd July 2010, 10:14
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
qmake -project 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.

borisbn
22nd July 2010, 15:48
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.

dpatel
26th July 2010, 06:45
Yes, I am aware of that option, but I need command line option. Any thing on command line that can do the same.