For some reason QtAssistant.framework doesn't get added to the .xcodeproj file. I have compared the .pro files of the Qt example "simpletextviewer" and my application to find out why, but I don't see any important difference.
This is simpletextviewer.pro
CONFIG += assistant
QT += network
HEADERS = mainwindow.h \
findfiledialog.h
SOURCES = main.cpp \
mainwindow.cpp \
findfiledialog.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/assistant/simpletextviewer
sources.files = $$SOURCES $$HEADERS $$RESOURCES documentation *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/assistant/simpletextviewer
INSTALLS += target sources
CONFIG += assistant
QT += network
HEADERS = mainwindow.h \
findfiledialog.h
SOURCES = main.cpp \
mainwindow.cpp \
findfiledialog.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/assistant/simpletextviewer
sources.files = $$SOURCES $$HEADERS $$RESOURCES documentation *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/assistant/simpletextviewer
INSTALLS += target sources
To copy to clipboard, switch view to plain text mode
And this is my applications .pro file:
TEMPLATE = app
TARGET = CotigEditorQt
CONFIG += qt \
warn_on \
release \
console \
static \
assistant
QT += network
HEADERS += suggestiondialog.h \
qbmtextedit.h \
encodingvalidator.h \
optionsdialog.h \
cotigeditor.h \
aboutdialog.h \
helpdialog.h \
printpreview.h \
searchdialog.h \
spellcheckdialog.h
SOURCES += suggestiondialog.cpp \
qbmtextedit.cpp \
encodingvalidator.cpp \
optionsdialog.cpp \
main.cpp \
cotigeditor.cpp \
aboutdialog.cpp \
helpdialog.cpp \
printpreview.cpp \
searchdialog.cpp \
spellcheckdialog.cpp
FORMS += suggestiondialog.ui \
optionsdialog.ui \
aboutdialog.ui \
helpdialog.ui \
searchdialog.ui \
spellcheckdialog.ui
RESOURCES += CotigEditorQt.qrc
TRANSLATIONS = translations/CotigEditorQt_ca.ts
INCLUDEPATH += ../CotigMainProxyQt
!macx:unix {
message("Building for Linux.")
LIBS += -L../CotigMainProxyQt \
-lCotigMainProxyQt
}
macx {
message("Building for Mac.")
LIBS += -L../CotigMainProxyQt \
-lCotigMainProxyQt
QMAKE_INFO_PLIST = mac/Info.plist
RC_FILE = mac/CotigEditorQt.icns
localizations.files = mac/locversion.plist
localizations.path = Contents/Resources
QMAKE_BUNDLE_DATA += localizations
}
win32 {
message("Building for Windows.")
LIBS += -L../CotigMainProxyQt/release \
-lCotigMainProxyQt
}
TEMPLATE = app
TARGET = CotigEditorQt
CONFIG += qt \
warn_on \
release \
console \
static \
assistant
QT += network
HEADERS += suggestiondialog.h \
qbmtextedit.h \
encodingvalidator.h \
optionsdialog.h \
cotigeditor.h \
aboutdialog.h \
helpdialog.h \
printpreview.h \
searchdialog.h \
spellcheckdialog.h
SOURCES += suggestiondialog.cpp \
qbmtextedit.cpp \
encodingvalidator.cpp \
optionsdialog.cpp \
main.cpp \
cotigeditor.cpp \
aboutdialog.cpp \
helpdialog.cpp \
printpreview.cpp \
searchdialog.cpp \
spellcheckdialog.cpp
FORMS += suggestiondialog.ui \
optionsdialog.ui \
aboutdialog.ui \
helpdialog.ui \
searchdialog.ui \
spellcheckdialog.ui
RESOURCES += CotigEditorQt.qrc
TRANSLATIONS = translations/CotigEditorQt_ca.ts
INCLUDEPATH += ../CotigMainProxyQt
!macx:unix {
message("Building for Linux.")
LIBS += -L../CotigMainProxyQt \
-lCotigMainProxyQt
}
macx {
message("Building for Mac.")
LIBS += -L../CotigMainProxyQt \
-lCotigMainProxyQt
QMAKE_INFO_PLIST = mac/Info.plist
RC_FILE = mac/CotigEditorQt.icns
localizations.files = mac/locversion.plist
localizations.path = Contents/Resources
QMAKE_BUNDLE_DATA += localizations
}
win32 {
message("Building for Windows.")
LIBS += -L../CotigMainProxyQt/release \
-lCotigMainProxyQt
}
To copy to clipboard, switch view to plain text mode
Bookmarks