To confirm.
You have Qwt 6.1 built with Qt5 and installed under /usr/local.
So this is what you get:
chrisw@newton ~ $ qmake -query QMAKEFEATURES
/usr/local/qwt-6.1.0/features
chrisw@newton ~ $ qmake -query QMAKEFEATURES
/usr/local/qwt-6.1.0/features
To copy to clipboard, switch view to plain text mode
and you have a pro file like:
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = test
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
CONFIG += qwt
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = test
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
CONFIG += qwt
To copy to clipboard, switch view to plain text mode
and a basic program like the one you posted earlier. Your code compiles without warning or error, but "doesn't work" when started..
If so, exactly what does "doesn't work" mean?
Bookmarks