Nobody usin Vs2005 with a static build of qt?
So, are there really 4.2.1 libs in c:\qt\4.2.0-static\lib (instead of c:\qt\4.2.1-static\lib)? If not, then fix your paths, or put the libs in there.
Software Engineer
Last edited by ucomesdag; 2nd December 2006 at 22:24.
Yes this is looks like VS issue. What I did to fix it:
-created a new .pro file
-open new .vcproj file from .pro using QT Visual Studio integration
After these steps it works for me.
arunredi (16th May 2008)
HI..I am a newbie.
I am having problem
"
Performing moc on MainWindow.h
Compiling...
main.cpp
MainWindow.cpp
moc_MainWindow.cpp
Generating Code...
Compiling manifest to resources...
Linking...
LINK : fatal error LNK1104: cannot open file 'qtmaind.lib'
"
I am using Qt4.4.0 open source with VS 2005 in Window.
I installed Library path and linker data.
Can anybody help me this problem?
Thanks in advance.
Seems like you don't have debug version of Qt. So generate the project file in release mode:
Qt Code:
qmake -tp vc -config releaseTo copy to clipboard, switch view to plain text mode
J-P Nurmi
Jasmine (22nd May 2008)
Hi.. Thanks for your answer.
I tried it out in release version
qmake -tp vc -config release
then.. I found error
What should I install for right version?WARNING: Unable to generate output for C:/Qt/4.4.0/Makefile.Release [TEMPLATE vcapp]
WARNING: Unable to generate output for C:/Qt/4.4.0/Makefile.Debug [TEMPLATE vcapp]
Should I delete and reinstall everything?
Please kindly reply me.
I meant to run that command in the project directory, not in Qt installation directory. That's the command to generate a Visual Studio project out of a qmake project file. That's how you created the Visual Studio project in the first place, right?
J-P Nurmi
Jasmine (23rd May 2008)
Bookmarks