Hi Joerg,
Thanks for your responses, I've now got this working.
To be honest I pretty much knew what the problem was (yeah really!) but
was trying to emphasis what a new user might experience. Downloading the
add-in and reading the docs gave me no indication that no (batteries)
studio libs are included and reconfiguring the GPL setup and rebuild is
required.
For me the benefit of the Visual Studio integration Add-in under GPL is
the ability to test library contributions using the Microsoft compiler.
Having installed Qt under GPL, I've benefited from the delivery of
release & now debug built MinGW libs. But in order to test the Microsoft
compiler built projects, I've got to overwrite the Qt libs. Hence MinGW
& studio cannot coexist. This is a big PITA.
I manage this quite well within my project files by creating a subdir
for VisualStudio eg:
win32 {
win32-g++ {
DESTDIR = $$BUILD_SUBDIR
} else {
DESTDIR = $$BUILD_SUBDIR/VisualStudio
}
}
Then I only need to install into a common lib path in order to switch
builds.
Would this approach have any merit within the Qt project files OR is
there a way of configuring where the output libs get created?
Regards
David Robinson
-----Original Message-----
From: Joerg Bornemann [mailto:[email protected]]
Sent: 25 May 2009 08:49
To: Robinson, David
Cc: [email protected]
Subject: Re: [Qt4-preview-feedback] Qt4 Visual Studio add-in v1.0
Hi David,
> 1. When you import a Qt project the vcproj file generated is no more
> than a gcc Makefile when you're using the GPL.
The vcproj file is a gcc Makefile?
I can't quite follow you on this one. Are you trying to use Qt, built
with gcc with Visual Studio? That won't work. You'll have to build Qt
with the Visual Studio compiler first.
> 2. Even if you set the QMAKESPEC env for win32-msvc the vcproj file
> produced is still win32-g++.
Did you setup the Qt build directories?
Please, see http://doc.qtsoftware.com/vs-add-in-1.0/index.html
> 3. When executed on the command line the real vcproj XML file produced
> is peppered with _(QTDIR) instead of $(QTDIR)
That's a bug, which is fixed in the addin version 1.0.1
Best Regards,
Joerg
--
Joerg Bornemann
Software Engineer
Nokia, Qt Software
Rudower Chaussee 13, 12489 Berlin, Germany
Scanned for viruses by BlackSpider MailControl
Please refer to www.anite.com for individual Anite company details. The
contents of this e-mail and any attachments are for the intended recipient
only. If you are not the intended recipient, you are not authorised to and must
not disclose, copy, distribute, or retain this message or any part of it. It
may contain information which is confidential and/or covered by legal
professional or other privilege. Contracts cannot be concluded with us nor
legal service effected by email.
Anite plc
Registered in England No.1798114
Registered Office: 353 Buckingham Avenue Slough Berks SL1 4PF United Kingdom
VAT Registration No. GB 787 418187
Scanned for viruses by BlackSpider MailControl.
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback