Build a project without QT libs and include
-
I am building a dll (with qt) that I would like to test from a MSVC project without qt.
So I would like to generate the .vcproj with qmake, but this vcproj should not contains qt includes and libs.
I added
@QT -= gui core@
But I still have reference to qt in my project. Is it possible to do this?
Thanks a lot -
[quote author="Gerolf" date="1303817141"]Why don't you just create a VS project, if you don't want it to contain Qt?[/quote]
Because I like using qt tools for everything :p -
-
I can't use QtCreator since I have to test if a developer using msvc can use my dll :p
-
so you have a dll which uses Qt internally but not in it's interface?
And this dll should be used by a MSVS user?If you use the MSVS toolchain, it is possible, but using QtCreator with mingw and MSVC for the client will not work.
If the test says, the client uses MSVS, I would also only use MSVS for that.
-
Qt Creator does fully support MSVC. That is no reason not to use it:-)