include(../config.pri) TARGET = lyxqt4$${DEBUGSUFFIX} QT = core gui INCLUDEPATH += $${BUILD_BASE_TARGET_DIR}/qt4 INC += boost INC += . INC += src INC += src/frontends INC += src/frontends/controllers INC += src/frontends/qt4 HPP += Action.h HPP += BulletsModule.h HPP += CheckedLineEdit.h HPP += ColorCache.h HPP += DockView.h HPP += EmptyTable.h HPP += FloatPlacement.h HPP += GuiApplication.h HPP += GuiClipboard.h HPP += GuiFontLoader.h HPP += GuiFontMetrics.h HPP += GuiImplementation.h HPP += GuiSelection.h HPP += GuiView.h HPP += GuiWorkArea.h HPP += IconPalette.h HPP += InsertTableWidget.h HPP += LengthCombo.h HPP += LyXFileDialog.h HPP += PanelStack.h HPP += pch.h HPP += QAbout.h HPP += QBibitem.h HPP += QBibtex.h HPP += QBox.h HPP += QBranches.h HPP += QBranch.h HPP += QChanges.h HPP += QCharacter.h HPP += QCitationDialog.h HPP += QCitation.h HPP += QCommandBuffer.h HPP += QCommandEdit.h HPP += QDelimiterDialog.h HPP += QDialogView.h HPP += QDocument.h HPP += QErrorList.h HPP += QERT.h HPP += QExternal.h HPP += QFloatDialog.h HPP += QFloat.h HPP += QFontExample.h HPP += QGraphicsDialog.h HPP += QGraphics.h HPP += QGraphicsUi.h HPP += QInclude.h HPP += QIndex.h HPP += QKeySymbol.h HPP += QLImage.h HPP += QListings.h HPP += qlkey.h HPP += QLMenubar.h HPP += QLog.h HPP += QLPainter.h HPP += QLPopupMenu.h HPP += QLPrintDialog.h HPP += QLToolbar.h HPP += QMathMatrixDialog.h HPP += QNomencl.h HPP += QNote.h HPP += QParagraph.h HPP += QPrefs.h HPP += QPrint.h HPP += QRef.h HPP += QSearch.h HPP += QSendto.h HPP += QSetBorder.h HPP += QShowFile.h HPP += QSpellchecker.h HPP += Qt2BC.h HPP += QTabularCreate.h HPP += QTabular.h HPP += QTexinfo.h HPP += qt_helpers.h HPP += QThesaurus.h HPP += QToc.h HPP += QURLDialog.h HPP += QViewSource.h HPP += QVSpace.h HPP += QWrap.h HPP += socket_callback.h HPP += TocModel.h HPP += TocWidget.h HPP += UrlView.h HPP += Validator.h CPP += Action.cpp CPP += alert_pimpl.cpp CPP += BulletsModule.cpp CPP += CheckedLineEdit.cpp CPP += ColorCache.cpp CPP += Dialogs.cpp CPP += EmptyTable.cpp CPP += FileDialog.cpp CPP += FloatPlacement.cpp CPP += GuiApplication.cpp CPP += GuiClipboard.cpp CPP += GuiFontLoader.cpp CPP += GuiFontMetrics.cpp CPP += GuiImplementation.cpp CPP += GuiSelection.cpp CPP += GuiView.cpp CPP += GuiWorkArea.cpp CPP += IconPalette.cpp CPP += InsertTableWidget.cpp CPP += KeySymbol.cpp CPP += LengthCombo.cpp CPP += LyXFileDialog.cpp CPP += PanelStack.cpp CPP += QAbout.cpp CPP += QBibitem.cpp CPP += QBibtex.cpp CPP += QBox.cpp CPP += QBranch.cpp CPP += QBranches.cpp CPP += QChanges.cpp CPP += QCharacter.cpp CPP += QCitation.cpp CPP += QCitationDialog.cpp CPP += QCommandBuffer.cpp CPP += QCommandEdit.cpp CPP += QDelimiterDialog.cpp CPP += QDialogView.cpp CPP += QDocument.cpp CPP += QErrorList.cpp CPP += QERT.cpp CPP += QExternal.cpp CPP += QFloat.cpp CPP += QFloatDialog.cpp CPP += QFontExample.cpp CPP += QGraphics.cpp CPP += QGraphicsDialog.cpp CPP += QInclude.cpp CPP += QIndex.cpp CPP += QKeySymbol.cpp CPP += QLImage.cpp CPP += QListings.cpp CPP += QLMenubar.cpp CPP += QLog.cpp CPP += QLPainter.cpp CPP += QLPopupMenu.cpp CPP += QLPrintDialog.cpp CPP += QLToolbar.cpp CPP += QMathMatrixDialog.cpp CPP += QNomencl.cpp CPP += QNote.cpp CPP += QParagraph.cpp CPP += QPrefs.cpp CPP += QPrint.cpp CPP += QRef.cpp CPP += QSearch.cpp CPP += QSendto.cpp CPP += QSetBorder.cpp CPP += QShowFile.cpp CPP += QSpellchecker.cpp CPP += Qt2BC.cpp CPP += QTabular.cpp CPP += QTabularCreate.cpp CPP += QTexinfo.cpp CPP += qt_helpers.cpp CPP += QThesaurus.cpp CPP += QToc.cpp CPP += QURLDialog.cpp CPP += QViewSource.cpp CPP += QVSpace.cpp CPP += QWrap.cpp CPP += socket_callback.cpp CPP += TocModel.cpp CPP += TocWidget.cpp CPP += UrlView.cpp CPP += Validator.cpp UI += AboutUi.ui UI += AskForTextUi.ui UI += BibitemUi.ui UI += BiblioUi.ui UI += BibtexAddUi.ui UI += BibtexUi.ui UI += BoxUi.ui UI += BranchesUi.ui UI += BranchUi.ui UI += BulletsUi.ui UI += ChangesUi.ui UI += CharacterUi.ui UI += CitationUi.ui UI += DelimiterUi.ui UI += DocumentUi.ui UI += ErrorListUi.ui UI += ERTUi.ui UI += ExternalUi.ui UI += FloatPlacementUi.ui UI += FloatUi.ui UI += FontUi.ui UI += GraphicsUi.ui UI += IncludeUi.ui UI += IndexUi.ui UI += LanguageUi.ui UI += LaTeXUi.ui UI += ListingsUi.ui UI += LogUi.ui UI += MarginsUi.ui UI += MathMatrixUi.ui UI += MathsUi.ui UI += NomenclUi.ui UI += NoteUi.ui UI += NumberingUi.ui UI += PageLayoutUi.ui UI += ParagraphUi.ui UI += PreambleUi.ui UI += PrefColorsUi.ui UI += PrefConvertersUi.ui UI += PrefCopiersUi.ui UI += PrefCygwinPathUi.ui UI += PrefDateUi.ui UI += PrefDisplayUi.ui UI += PrefFileformatsUi.ui UI += PrefIdentityUi.ui UI += PrefKeyboardUi.ui UI += PrefLanguageUi.ui UI += PrefLatexUi.ui UI += PrefPathsUi.ui UI += PrefPlaintextUi.ui UI += PrefPrinterUi.ui UI += PrefScreenFontsUi.ui UI += PrefSpellcheckerUi.ui UI += PrefsUi.ui UI += PrefUi.ui UI += PrintUi.ui UI += RefUi.ui UI += SearchUi.ui UI += SendtoUi.ui UI += ShowFileUi.ui UI += SpellcheckerUi.ui UI += TabularCreateUi.ui UI += TabularUi.ui UI += TexinfoUi.ui UI += TextLayoutUi.ui UI += ThesaurusUi.ui UI += TocUi.ui UI += URLUi.ui UI += ViewSourceUi.ui UI += VSpaceUi.ui UI += WrapUi.ui BASE = $${BUILD_BASE_SOURCE_DIR}/src/frontends/qt4 # This is only there because we name our stuff *_moc instead of moc_* for(FILE,HPP) { XHPP += $${BASE}/$${FILE} } moc1.output = ${QMAKE_FILE_BASE}_moc.cpp moc1.commands = moc ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_OUT} #moc1.depend_command = g++ -E -M ${QMAKE_FILE_NAME} | sed "s,^.*: ,," moc1.dependency_type = TYPE_C moc1.input = XHPP moc1.CONFIG += no_link QMAKE_EXTRA_COMPILERS += moc1 for(FILE,CPP) { SOURCES += $${BASE}/$${FILE} } #for(FILE,HPP) { HEADERS += $${BASE}/$${FILE} } for(FILE,UI) { FORMS += $${BASE}/ui/$${FILE} } for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }