Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, April 2007
VS 2005 Integration DEFINES


Message 1 in thread

First some quick background: I'm using the VS 2005 integration to
build app and lib projects but intend to cross compile on Linux and OS
X immediately.  In my first few attempts to make a project I defined a
new variable and then exported the .pro file.  The define in VS 2005
doesn't appear anywhere in the generated .pro or .pri file.  Since I
plan on using that define in the code, I'd like it to export.

Is there any way to get the VS 2005 defines I add to export to the .pro file?

Would just managing the .pro file by hand and opening it in VS 2005 be
a better way to manage a cross platform project?

Thanks,
Robert

--
 [ signature omitted ] 

Message 2 in thread

Maybe its just me... But for the projects I run... even with the integration, I always hand modify them in the .pri or .pro and re-run qmake...
 
It just seems except for the simple .pro/.pri project systems, you cant rely on the auto update of the pro to work.
 
I turn off the auto run UIC, but leave on the auto update moc and uic steps.  So that if I make an object a QObject it will get run.. 

Scott
 

________________________________

From: Robert Stehwien [mailto:rstehwien@xxxxxxxxx]
Sent: Mon 4/2/2007 1:08 PM
To: qt-interest@xxxxxxxxxxxxx
Subject: VS 2005 Integration DEFINES



First some quick background: I'm using the VS 2005 integration to
build app and lib projects but intend to cross compile on Linux and OS
X immediately.  In my first few attempts to make a project I defined a
new variable and then exported the .pro file.  The define in VS 2005
doesn't appear anywhere in the generated .pro or .pri file.  Since I
plan on using that define in the code, I'd like it to export.

Is there any way to get the VS 2005 defines I add to export to the .pro file?

Would just managing the .pro file by hand and opening it in VS 2005 be
a better way to manage a cross platform project?

Thanks,
Robert

--
 [ signature omitted ]