It seems like you are compiling the debug and release versions of the libraries. If you built you Qt in release mode only than you must build the qwt libraries in release mode only. If you ever see a "d" before the lib number (what you have just mentioned as missing). Edit your qwtbuild.pri to disable the debug_and_release and the build_all config like this:
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 += debug_and_release
#CONFIG += build_all
}
CONFIG += release
VER_MAJ = $${QWT_VER_MAJ}
VER_MIN = $${QWT_VER_MIN}
VER_PAT = $${QWT_VER_PAT}
VERSION = $${QWT_VERSION}
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 += debug_and_release
#CONFIG += build_all
}
CONFIG += release
VER_MAJ = $${QWT_VER_MAJ}
VER_MIN = $${QWT_VER_MIN}
VER_PAT = $${QWT_VER_PAT}
VERSION = $${QWT_VERSION}
To copy to clipboard, switch view to plain text mode
(Note that you should probably remove the else claus-Just the word else and the brackets enclosing the block, if you do not do this I believe it will default back to the debug_and_release options)
That should do it for you. If, later on down the road, you decide to build debug libraries you must reconfigure and re compile Qt as a debug_and_release. The version of Qt should not matter as long as it is 4.7.X.
Bookmarks