View Full Version : qwt 5.2.0 msvc2008 build Qt 4.6.0
hml
18th December 2009, 12:42
Hello
I am trying to build 5.2.0 for msvc2008 with Qt 4.6.0 (vs2008)
I did the workaround that generated the errors with Qt4.6.0 and built with nmake.
The .dll and .lib are generated correctly, however I think it only built in release.
As I don't know how to choose debug target for nmake (i'm sure it's trivial), I looked at generating the vs2008 .vcproj or .sln.
There's no admin directory in qwt 5.2.0
The INSTALL file should probably be updated,
Regards,
hml
18th December 2009, 12:43
The admin directory apparently holds the qmake-msvc.bat file that allows to generate project files for vs2008
hml
18th December 2009, 12:48
There looks to be an error in qwtconfig.pri for debug/release
################################################## ####################
# release/debug mode
# If you want to build both DEBUG_SUFFIX and RELEASE_SUFFIX
# have to differ to avoid, that they overwrite each other.
################################################## ####################
VVERSION = $$[QT_VERSION]
isEmpty(VVERSION) {
# Qt 3
CONFIG += release # release/debug
}
else {
# Qt 4
win32 {
# On Windows you can't mix release and debug libraries.
# The designer is built in release mode. If you like to use it
# you need a release version. For your own application development you
# might need a debug version.
# Enable debug_and_release + build_all if you want to build both.
CONFIG += release # release/debug/debug_and_release
#CONFIG += release_and_release
#CONFIG += build_all
}
else {
CONFIG += release # release/debug
}
}
release_and_release is probably wrong and should be debug_and_release.
hml
18th December 2009, 12:58
this has worked now.
I have both release and debug lib/dlls
and will try to use it in my application.
I think a separate include directory would be better than have the header files in the 'src' dir.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.