ich habe ein Programm geschrieben das massiv gebrauch von Qwt macht. Wegen eines Toolbar-Anzeige-Bugs in Qt 4.6.0 habe ich dann auf die neuste Version (4.6.2) upgedatet. Nun bekomme ich mein Programm aber nicht mehr ans rennen. Vor dem Update ging alles super, jetzt fliege ich immer mit folgendem Fehler raus:
Ich habe nix an den Projekteinstellungen geändert. Ich habe nur qwt erneut mit 4.6.2 compiliert und die dll's entsprchend verteilt...soweit ich das zumindest weiß...habe leider das Tutorial von der Erstinstallation verloren. Auch habe ich das Problem das mir damals bei der qwt Komilierung folgende Dateien generiert wurden, die jetzt nicht mehr erstelllt werden (die exp, ilk und lib dateien). Ich habe nur noch dlls und .a Dateien.c:/qt/2010.02.1/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lqwtd
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\eView.exe] Error 1
mingw32-make: *** [debug-all] Error 2
Mein Entwicklungssystem
Win7 x64 Prof, QtCreator 1.3.1, Qt 4.6.2, Qwt 5.2 (neuste SVN Version)
Hier mal meine qwtconfig
Code: Alles auswählen
######################################################################
# Install paths
######################################################################
VER_MAJ = 5
VER_MIN = 2
VER_PAT = 1
VERSION = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
unix {
INSTALLBASE = /usr/local/qwt-$$VERSION
}
win32 {
INSTALLBASE = C:/qt/Qwt-$$VERSION
}
target.path = $$INSTALLBASE/lib
headers.path = $$INSTALLBASE/include
doc.path = $$INSTALLBASE/doc
######################################################################
# qmake internal options
######################################################################
CONFIG += qt # Also for Qtopia Core!
CONFIG += warn_on
CONFIG += thread
CONFIG += silent
######################################################################
# 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 += debug # 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 += debug # release/debug/debug_and_release
CONFIG += debug_and_release
CONFIG += build_all
}
else {
CONFIG += debug_and_release
CONFIG += build_all
}
}
######################################################################
# If you want to have different names for the debug and release
# versions you can add a suffix rule below.
######################################################################
DEBUG_SUFFIX =
RELEASE_SUFFIX =
win32 {
DEBUG_SUFFIX = d
}
######################################################################
# Build the static/shared libraries.
# If QwtDll is enabled, a shared library is built, otherwise
# it will be a static library.
######################################################################
CONFIG += QwtDll
######################################################################
# QwtPlot enables all classes, that are needed to use the QwtPlot
# widget.
######################################################################
CONFIG += QwtPlot
######################################################################
# QwtWidgets enables all classes, that are needed to use the all other
# widgets (sliders, dials, ...), beside QwtPlot.
######################################################################
CONFIG += QwtWidgets
######################################################################
# If you want to display svg imageson the plot canvas, enable the
# line below. Note that Qwt needs the svg+xml, when enabling
# QwtSVGItem.
######################################################################
#CONFIG += QwtSVGItem
######################################################################
# You can use the MathML renderer of the Qt solutions package to
# enable MathML support in Qwt. # If you want this, copy
# qtmmlwidget.h + qtmmlwidget.cpp to # textengines/mathml and enable
# the line below.
######################################################################
#CONFIG += QwtMathML
######################################################################
# If you want to build the Qwt designer plugin,
# enable the line below.
# Otherwise you have to build it from the designer directory.
######################################################################
CONFIG += QwtDesigner
######################################################################
# If you want to auto build the examples, enable the line below
# Otherwise you have to build them from the examples directory.
######################################################################
#CONFIG += QwtExamples