[Qt-interest] Qt Visual Studio plugin doesn't honor paths on import

Schimkowitsch Robert Robert.Schimkowitsch at andritz.com
Tue Oct 11 08:56:19 CEST 2011


> "The actual question is: why would they care where generated files are placed?"

Because (as per default settings) they clutter up folders that should only contain source files. That can be changed, but every user has to manually change the settings. They might have to change the settings for different projects with different folder structures.

Because when I switch between command line and IDE build, I would use different paths, which means a lot of duplicate files, and a lot of wasted compile time. 


Kind regards

Robert Schimkowitsch

-----Original Message-----
From: qt-interest-bounces+robert.schimkowitsch=andritz.com at qt.nokia.com [mailto:qt-interest-bounces+robert.schimkowitsch=andritz.com at qt.nokia.com] On Behalf Of Joerg Bornemann
Sent: Monday, October 10, 2011 12:37 PM
To: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] Qt Visual Studio plugin doesn't honor paths on import

On 10/10/2011 07:29, ext Schimkowitsch Robert wrote:

>> From what little there is in the qmake doc, "qmake -tp vc" seems to only generate a studio makefile, not a project that you can build and debug within the IDE.
>
> While I do maintain the .pro files, there are people who use VS 2010 as their main IDE (it does have some capabilities Creator doesn't have).
>
> How would these people import the maintained .pro file into VS, not to change it at the project file level, but to test, debug and change source code?

The actual question is: why would they care where generated files are 
placed?

You can choose from this list of options:

1) Import the .pro file using the add-in and live with the (Visual 
Studio style) placement of generated files.

2) Use "qmake -tp vc" and hope that the VS project generator respects 
MOC_DIR etc as you wish.

3) Don't use qmake.


Jörg
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest

#####################################################################################
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
Thank You.
  ANDRITZ HYDRO GmbH
  Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation 
  Firmensitz/ Registered seat: Wien 
  Firmenbuchgericht/ Court of registry: Handelsgericht Wien 
  Firmenbuchnummer/ Company registration: FN 61833 g
  DVR: 0605077 
  UID-Nr.: ATU14756806
#####################################################################################




More information about the Qt-interest-old mailing list