Hello! I've spent a little while trying to install qwt and I've run into something strange.
I am running OSX mavericks, Qt 5.5, trying to install qwt 6.1.2
Every time I try and compile through Qt creator, I get a "framework not found qwt". I know I linked correctly,
following the format as set out by the Qt Documentation.
QMAKE_LFLAGS += -F/usr/local/qwt-6.1.1/lib/
LIBS += -framework qwt
QMAKE_LFLAGS += -F/usr/local/qwt-6.1.1/lib/
LIBS += -framework qwt
To copy to clipboard, switch view to plain text mode
The strange part is, when I go to usr/local/qwt-6.1.2/lib/ , it is empty. There was a .framework file there and now there is not.
Here is my .pro file
QT += core gui
QT += widgets
CONFIG += c++11
CONFIG += qwt
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = myAPP
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
INCLUDEPATH += /usr/local/qwt-6.1.1/src/
include(/usr/local/qwt-6.1.1/qwt.prf)
QMAKE_LFLAGS += -F/usr/local/qwt-6.1.1/lib/
LIBS += -framework qwt
QT += core gui
QT += widgets
CONFIG += c++11
CONFIG += qwt
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = myAPP
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
INCLUDEPATH += /usr/local/qwt-6.1.1/src/
include(/usr/local/qwt-6.1.1/qwt.prf)
QMAKE_LFLAGS += -F/usr/local/qwt-6.1.1/lib/
LIBS += -framework qwt
To copy to clipboard, switch view to plain text mode
Any help would be greatly appreciated.
Bookmarks