Closed chmmou closed 11 years ago
The usage of this OS X Framework can be used in your own project like this
macx { INCLUDEPATH += $${QTDROPBOXDIR}/QtDropbox.framework/Versions/A/Headers DEPENDPATH += $${QTDROPBOXDIR}/QtDropbox.framework/Versions/A/Headers
QMAKE_PRE_LINK = rm -rf $${DESTDIR}/$${TARGET}.app/Contents/Frameworks && \ mkdir -p $${DESTDIR}/$${TARGET}.app/Contents/Frameworks && \ cp -R $${QTDROPBOXDIR}/QtDropbox.framework \ $${DESTDIR}/$${TARGET}.app/Contents/Frameworks/QtDropbox.framework
LIBS += -F$${DESTDIR}/$${TARGET}.app/Contents/Frameworks LIBS += -framework QtDropbox }
The usage of this OS X Framework can be used in your own project like this
macx { INCLUDEPATH += $${QTDROPBOXDIR}/QtDropbox.framework/Versions/A/Headers DEPENDPATH += $${QTDROPBOXDIR}/QtDropbox.framework/Versions/A/Headers
QMAKE_PRE_LINK = rm -rf $${DESTDIR}/$${TARGET}.app/Contents/Frameworks && \ mkdir -p $${DESTDIR}/$${TARGET}.app/Contents/Frameworks && \ cp -R $${QTDROPBOXDIR}/QtDropbox.framework \ $${DESTDIR}/$${TARGET}.app/Contents/Frameworks/QtDropbox.framework
LIBS += -F$${DESTDIR}/$${TARGET}.app/Contents/Frameworks LIBS += -framework QtDropbox }