Remove orig file from pro file

Remove orig file from pro file

   macx:ICON = $$PWD/icon.icns
windows:RC_FILE = $$PWD/icon.rc

SOURCES += $$PWD/main.cpp \
        $$PWD/aboutdialog.cpp \
        $$PWD/analyses.cpp \
        $$PWD/mainwindow.cpp \
        $$PWD/datasettablemodel.cpp \
        $$PWD/enginesync.cpp \
        $$PWD/availablefields.cpp \
        $$PWD/asyncloader.cpp \
        $$PWD/maintableview.cpp \
        $$PWD/datasetloader.cpp \
        $$PWD/maintablehorizontalheader.cpp \
        $$PWD/widgets/assignbutton.cpp \
        $$PWD/widgets/availablefieldslistview.cpp \
        $$PWD/widgets/boundcheckbox.cpp \
        $$PWD/widgets/boundlistview.cpp \
        $$PWD/widgets/expanderbutton.cpp \
        $$PWD/widgets/infopopup.cpp \
        $$PWD/widgets/ribbonbutton.cpp \
        $$PWD/widgets/toolbutton.cpp \
        $$PWD/widgets/boundtextbox.cpp \
        $$PWD/widgets/boundgroupbox.cpp \
        $$PWD/widgets/progresswidget.cpp \
        $$PWD/widgets/anovamodelwidget.cpp \
        $$PWD/widgets/listview.cpp \
        $$PWD/widgets/draganddrop.cpp \
        $$PWD/widgets/assignbuttonmenu.cpp \
        $$PWD/widgets/tableview.cpp \
        $$PWD/widgets/boundpairstable.cpp \
        $$PWD/widgets/boundcombobox.cpp \
        $$PWD/widgets/boundtableview.cpp \
        $$PWD/widgets/tableviewmenueditor.cpp \
        $$PWD/widgets/tableviewmenueditordelegate.cpp \
        $$PWD/analysisforms/analysisform.cpp \
        $$PWD/analysisforms/anovabayesianform.cpp \
        $$PWD/analysisforms/ttestpairedsamplesform.cpp \
        $$PWD/analysisforms/anovamultivariateform.cpp \
        $$PWD/analysisforms/ttestbayesianonesampleform.cpp \
        $$PWD/analysisforms/ancovaform.cpp \
        $$PWD/analysisforms/anovaform.cpp \
        $$PWD/analysisforms/descriptivesform.cpp \
        $$PWD/analysisforms/anovaonewayform.cpp \
        $$PWD/analysisforms/ttestonesampleform.cpp \
        $$PWD/analysisforms/ttestindependentsamplesform.cpp \
        $$PWD/analysisforms/ancovamultivariateform.cpp \
        $$PWD/analysisforms/regressionlinearform.cpp \
        $$PWD/analysisforms/correlationform.cpp \
        $$PWD/widgets/boundassignwidget.cpp \
        $$PWD/analysisforms/anovarepeatedmeasuresform.cpp \
        $$PWD/analysisforms/contingencytablesform.cpp \
        $$PWD/analysisforms/correlationpartialform.cpp \
        $$PWD/ribbons/ribbonwidget.cpp \
        $$PWD/ribbons/ribbonsem.cpp \
        $$PWD/ribbons/ribbonanalysis.cpp \
        $$PWD/ribbons/ribbonhome.cpp \
        $$PWD/widgets/boundtextedit.cpp \
        $$PWD/widgets/stealthbutton.cpp \
        $$PWD/analysisforms/ttestbayesianindependentsamplesform.cpp \
        $$PWD/analysisforms/ttestbayesianpairedsamplesform.cpp \
        $$PWD/widgets/itemmodelselectitem.cpp \
        $$PWD/widgets/itemmodelselectvariable.cpp \
        $$PWD/widgets/tabbar.cpp \
        $$PWD/optionsform.cpp \
        $$PWD/widgets/textmodellavaan.cpp \
        $$PWD/terms.cpp \
        $$PWD/term.cpp \
        $$PWD/widgets/tablemodelanovamodelnuisancefactors.cpp \
        $$PWD/widgets/tablemodelpairsassigned.cpp \
        $$PWD/widgets/tablemodelvariables.cpp \
        $$PWD/widgets/tablemodelvariablesassigned.cpp \
        $$PWD/widgets/tablemodelvariablesavailable.cpp \
        $$PWD/widgets/tablemodelvariableslevels.cpp \
        $$PWD/widgets/tablemodelvariablesoptions.cpp \
        $$PWD/widgets/tablemodelanovamodel.cpp \
        $$PWD/widgets/tablemodelcontrasts.cpp \
        $$PWD/widgets/tablemodelanovadesign.cpp \
        $$PWD/appdirs.cpp \
        $$PWD/widgets/tablemodelanovawithinsubjectcells.cpp \
        $$PWD/analysisforms/ancovabayesianform.cpp \
        $$PWD/analysisforms/anovarepeatedmeasuresbayesianform.cpp \
        $$PWD/analysisforms/correlationbayesianform.cpp \
        $$PWD/analysisforms/contingencytablesbayesianform.cpp \
        $$PWD/analysisforms/correlationbayesianpairsform.cpp \
        $$PWD/application.cpp \
        $$PWD/analysisforms/regressionlinearbayesianform.cpp \
        $$PWD/qutils.cpp \
        $$PWD/activitylog.cpp \
        $$PWD/lrnamreply.cpp \
        $$PWD/lrnam.cpp \
        $$PWD/widgets/webview.cpp \
        $$PWD/widgets/button.cpp \
        $$PWD/ribbons/ribbonr11tlearn.cpp \
        $$PWD/backstage/breadcrumbs.cpp \
        $$PWD/backstage/verticaltabbar.cpp \
        $$PWD/backstage/verticaltabwidget.cpp \
        $$PWD/backstagewidget.cpp \
        $$PWD/backstage/fsentrywidget.cpp \
        $$PWD/backstage/fsbrowser.cpp \
        $$PWD/backstage/verticalscrollarea.cpp \
        $$PWD/backstage/elidelabel.cpp \
        $$PWD/backstage/backstageosf.cpp \
        $$PWD/backstage/backstagecomputer.cpp \
        $$PWD/backstage/backstagepage.cpp \
        $$PWD/backstage/opensavewidget.cpp \
        $$PWD/analysisforms/regressionloglinearform.cpp \
        $$PWD/analysisforms/regressionloglinearbayesianform.cpp \
        $$PWD/backstage/fsbmexamples.cpp \
        $$PWD/backstage/fsbmodel.cpp \
        $$PWD/backstage/fsbmcomputer.cpp \
		$$PWD/backstage/fsbmrecent.cpp \
		$$PWD/backstage/fsbmcurrent.cpp \
		$$PWD/backstage/fsbmrecentfolders.cpp \
        $$PWD/fileevent.cpp \
        $$PWD/widgets/boundsingleitemview.cpp \
        $$PWD/analysisforms/binomialtestform.cpp \
        $$PWD/analysisforms/binomialtestbayesianform.cpp \
        $$PWD/analysisforms/bffromtform.cpp \
        $$PWD/ribbons/ribbonsummarystatistics.cpp \
        $$PWD/variableswidget.cpp \
        $$PWD/variablespage/levelstablemodel.cpp \
        $$PWD/variablespage/variablestablemodel.cpp \
        $$PWD/backstage/fsbmosf.cpp \
        $$PWD/osfnam.cpp \
        $$PWD/onlinedatamanager.cpp \
        $$PWD/onlinedataconnection.cpp \
        $$PWD/onlinedatanodeosf.cpp \
        $$PWD/onlinedatanode.cpp \
        $$PWD/onlineusernode.cpp \
        $$PWD/onlinenode.cpp \
        $$PWD/onlineusernodeosf.cpp \
        $$PWD/backstage/authwidget.cpp \
        $$PWD/exporters/dataexporter.cpp \
        $$PWD/exporters/exporter.cpp \
        $$PWD/exporters/jaspexporter.cpp \
        $$PWD/exporters/resultexporter.cpp \
        $$PWD/importers/spss/characterencodingrecord.cpp \
        $$PWD/importers/spss/datainforecord.cpp \
        $$PWD/importers/spss/datarecords.cpp \
        $$PWD/importers/spss/dictionaryterminationrecord.cpp \
        $$PWD/importers/spss/documentrecord.cpp \
        $$PWD/importers/spss/extnumbercasesrecord.cpp \
        $$PWD/importers/spss/fileheaderrecord.cpp \
        $$PWD/importers/spss/floatinforecord.cpp \
        $$PWD/importers/spss/integerinforecord.cpp \
        $$PWD/importers/spss/longvarnamesrecord.cpp \
        $$PWD/importers/spss/miscinforecord.cpp \
        $$PWD/importers/spss/missingvaluechecker.cpp \
        $$PWD/importers/spss/numericconvertor.cpp \
        $$PWD/importers/spss/readablerecord.cpp \
        $$PWD/importers/spss/stringutils.cpp \
        $$PWD/importers/spss/valuelabelvarsrecord.cpp \
        $$PWD/importers/spss/vardisplayparamrecord.cpp \
        $$PWD/importers/spss/variablerecord.cpp \
        $$PWD/importers/spss/verylongstringrecord.cpp \
		$$PWD/importers/spss/spssimportcolumn.cpp \
		$$PWD/importers/spss/spssimportdataset.cpp \
		$$PWD/importers/ods/odsimportcolumn.cpp \
		$$PWD/importers/ods/odsimportdataset.cpp \
		$$PWD/importers/ods/odssheetcell.cpp \
		$$PWD/importers/ods/odstypes.cpp \
		$$PWD/importers/ods/odsxmlcontentshandler.cpp \
		$$PWD/importers/ods/odsxmlhandler.cpp \
		$$PWD/importers/ods/odsxmlmanifesthandler.cpp \
		$$PWD/importers/odsimporter.cpp \
		$$PWD/importers/csv.cpp \
		$$PWD/importers/csvimporter.cpp \
		$$PWD/importers/jaspimporter.cpp \
		$$PWD/importers/spssimporter.cpp \
		$$PWD/importers/codepageconvert.cpp \
		$$PWD/analysisforms/exploratoryfactoranalysisform.cpp \
        $$PWD/analysisforms/principalcomponentanalysisform.cpp \
        $$PWD/analysisforms/reliabilityanalysisform.cpp \
        $$PWD/analysisforms/SEM/semsimpleform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianindependentsamplesform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianonesampleform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianpairedsamplesform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatsbinomialtestbayesianform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatsregressionlinearbayesianform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatscorrelationbayesianpairsform.cpp \
        $$PWD/analysisforms/R11tLearn/r11tlearnform.cpp \
		$$PWD/simplecrypt.cpp \
		$$PWD/importers/convertedstringcontainer.cpp \
		$$PWD/importers/importer.cpp \
		$$PWD/importers/importdataset.cpp \
		$$PWD/importers/importcolumn.cpp \
		$$PWD/importers/csvimportcolumn.cpp \
		$$PWD/preferencesdialog.cpp

HEADERS  += \
        $$PWD/aboutdialog.h \
        $$PWD/analyses.h \
        $$PWD/datasettablemodel.h \
        $$PWD/enginesync.h \
        $$PWD/availablefields.h \
        $$PWD/analysisforms/analysisform.h \
        $$PWD/datasetloader.h \
        $$PWD/widgets/assignbutton.h \
        $$PWD/widgets/availablefieldslistview.h \
        $$PWD/widgets/boundcheckbox.h \
        $$PWD/widgets/boundlistview.h \
        $$PWD/widgets/expanderbutton.h \
        $$PWD/widgets/infopopup.h \
        $$PWD/widgets/ribbonbutton.h \
        $$PWD/widgets/toolbutton.h \
        $$PWD/widgets/boundtextbox.h \
        $$PWD/widgets/boundgroupbox.h \
        $$PWD/analysisforms/anovabayesianform.h \
        $$PWD/analysisforms/ttestpairedsamplesform.h \
        $$PWD/analysisforms/anovamultivariateform.h \
        $$PWD/analysisforms/ttestbayesianonesampleform.h \
        $$PWD/widgets/boundpairstable.h \
        $$PWD/asyncloader.h \
        $$PWD/widgets/progresswidget.h \
        $$PWD/widgets/anovamodelwidget.h \
        $$PWD/bound.h \
        $$PWD/widgets/boundmodel.h \
        $$PWD/widgets/listview.h \
        $$PWD/widgets/draganddrop.h \
        $$PWD/widgets/assignbuttonmenu.h \
        $$PWD/widgets/enhanceddroptarget.h \
        $$PWD/widgets/tableview.h \
        $$PWD/maintableview.h \
        $$PWD/widgets/droptarget.h \
        $$PWD/widgets/tablemodel.h \
        $$PWD/analysisforms/ancovaform.h \
        $$PWD/analysisforms/anovaform.h \
        $$PWD/analysisforms/descriptivesform.h \
        $$PWD/analysisforms/anovaonewayform.h \
        $$PWD/analysisforms/ttestindependentsamplesform.h \
        $$PWD/analysisforms/ttestonesampleform.h \
        $$PWD/analysisforms/ancovamultivariateform.h \
        $$PWD/maintablehorizontalheader.h \
        $$PWD/analysisforms/regressionlinearform.h \
        $$PWD/mainwindow.h \
        $$PWD/analysisforms/correlationform.h \
        $$PWD/widgets/boundcombobox.h \
        $$PWD/widgets/boundtableview.h \
        $$PWD/widgets/tableviewmenueditor.h \
        $$PWD/widgets/tableviewmenueditordelegate.h \
        $$PWD/widgets/boundassignwidget.h \
        $$PWD/analysisforms/anovarepeatedmeasuresform.h \
        $$PWD/analysisforms/contingencytablesform.h \
        $$PWD/analysisforms/correlationpartialform.h \
        $$PWD/ribbons/ribbonwidget.h \
        $$PWD/ribbons/ribbonsem.h \
        $$PWD/ribbons/ribbonanalysis.h \
        $$PWD/ribbons/ribbonhome.h \
        $$PWD/widgets/boundtextedit.h \
        $$PWD/widgets/stealthbutton.h \
        $$PWD/analysisforms/ttestbayesianindependentsamplesform.h \
        $$PWD/analysisforms/ttestbayesianpairedsamplesform.h \
        $$PWD/widgets/itemmodelselectitem.h \
        $$PWD/widgets/itemmodelselectvariable.h \
        $$PWD/widgets/tabbar.h \
        $$PWD/optionsform.h \
        $$PWD/widgets/textmodellavaan.h \
        $$PWD/term.h \
        $$PWD/terms.h \
        $$PWD/variableinfo.h \
        $$PWD/widgets/tablemodelanovamodelnuisancefactors.h \
        $$PWD/widgets/tablemodelpairsassigned.h \
        $$PWD/widgets/tablemodelvariables.h \
        $$PWD/widgets/tablemodelvariablesassigned.h \
        $$PWD/widgets/tablemodelvariablesavailable.h \
        $$PWD/widgets/tablemodelvariableslevels.h \
        $$PWD/widgets/tablemodelvariablesoptions.h \
        $$PWD/widgets/tablemodelanovamodel.h \
        $$PWD/widgets/tablemodelcontrasts.h \
        $$PWD/widgets/tablemodelanovadesign.h \
        $$PWD/appdirs.h \
        $$PWD/widgets/tablemodelanovawithinsubjectcells.h \
        $$PWD/analysisforms/ancovabayesianform.h \
        $$PWD/analysisforms/anovarepeatedmeasuresbayesianform.h \
        $$PWD/analysisforms/correlationbayesianform.h \
        $$PWD/analysisforms/contingencytablesbayesianform.h \
        $$PWD/analysisforms/correlationbayesianpairsform.h \
        $$PWD/application.h \
        $$PWD/analysisforms/regressionlinearbayesianform.h \
        $$PWD/qutils.h \
        $$PWD/activitylog.h \
        $$PWD/lrnamreply.h \
        $$PWD/lrnam.h \
        $$PWD/widgets/groupbox.h \
        $$PWD/widgets/button.h \
        $$PWD/widgets/webview.h \
        $$PWD/ribbons/ribbonr11tlearn.h \
        $$PWD/backstage/breadcrumbs.h \
        $$PWD/backstage/verticaltabbar.h \
        $$PWD/backstage/verticaltabwidget.h \
        $$PWD/backstagewidget.h \
        $$PWD/backstage/fsentrywidget.h \
        $$PWD/backstage/fsbrowser.h \
        $$PWD/backstage/fsentry.h \
        $$PWD/backstage/verticalscrollarea.h \
        $$PWD/backstage/elidelabel.h \
        $$PWD/backstage/backstageosf.h \
        $$PWD/backstage/backstagecomputer.h \
        $$PWD/backstage/backstagepage.h \
        $$PWD/backstage/opensavewidget.h \
        $$PWD/analysisforms/regressionloglinearform.h \
        $$PWD/analysisforms/regressionloglinearbayesianform.h \
        $$PWD/backstage/fsbmexamples.h \
        $$PWD/backstage/fsbmodel.h \
        $$PWD/backstage/fsbmcomputer.h \
		$$PWD/backstage/fsbmrecent.h \
		$$PWD/backstage/fsbmcurrent.h \
		$$PWD/backstage/fsbmrecentfolders.h \
        $$PWD/fileevent.h \
        $$PWD/widgets/boundsingleitemview.h \
        $$PWD/analysisforms/binomialtestform.h \
        $$PWD/analysisforms/binomialtestbayesianform.h \
        $$PWD/analysisforms/bffromtform.h \
        $$PWD/ribbons/ribbonsummarystatistics.h \
        $$PWD/variableswidget.h \
        $$PWD/variablespage/levelstablemodel.h \
        $$PWD/variablespage/variablestablemodel.h \
        $$PWD/backstage/fsbmosf.h \
        $$PWD/osfnam.h \
        $$PWD/onlinedatamanager.h \
        $$PWD/onlinedataconnection.h \
        $$PWD/onlinedatanodeosf.h \
        $$PWD/onlinedatanode.h \
        $$PWD/onlineusernode.h \
        $$PWD/onlinenode.h \
        $$PWD/onlineusernodeosf.h \
        $$PWD/backstage/authwidget.h \
        $$PWD/exporters/dataexporter.h \
        $$PWD/exporters/exporter.h \
        $$PWD/exporters/jaspexporter.h \
        $$PWD/exporters/resultexporter.h \
        $$PWD/importers/spss/characterencodingrecord.h \
        $$PWD/importers/spss/cpconverter.h \
        $$PWD/importers/spss/datainforecord.h \
        $$PWD/importers/spss/datarecords.h \
        $$PWD/importers/spss/dictionaryterminationrecord.h \
        $$PWD/importers/spss/documentrecord.h \
        $$PWD/importers/spss/extnumbercasesrecord.h \
        $$PWD/importers/spss/fileheaderrecord.h \
        $$PWD/importers/spss/floatinforecord.h \
        $$PWD/importers/spss/integerinforecord.h \
        $$PWD/importers/spss/longvarnamesrecord.h \
        $$PWD/importers/spss/measures.h \
        $$PWD/importers/spss/miscinforecord.h \
        $$PWD/importers/spss/missingvaluechecker.h \
        $$PWD/importers/spss/numericconverter.h \
        $$PWD/importers/spss/readablerecord.h \
        $$PWD/importers/spss/spssstream.h \
        $$PWD/importers/spss/stringutils.h \
        $$PWD/importers/spss/systemfileformat.h \
        $$PWD/importers/spss/valuelabelvarsrecord.h \
        $$PWD/importers/spss/vardisplayparamrecord.h \
        $$PWD/importers/spss/variablerecord.h \
        $$PWD/importers/spss/verylongstringrecord.h \
        $$PWD/importers/codepageconvert.h \
        $$PWD/importers/csv.h \
        $$PWD/importers/csvimporter.h \
        $$PWD/importers/jaspimporter.h \
        $$PWD/importers/spssimporter.h \
		$$PWD/importers/spss/spssformattype.h \
		$$PWD/analysisforms/exploratoryfactoranalysisform.h \
        $$PWD/analysisforms/principalcomponentanalysisform.h \
        $$PWD/analysisforms/reliabilityanalysisform.h \
        $$PWD/analysisforms/SEM/semsimpleform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianindependentsamplesform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianonesampleform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianpairedsamplesform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatsbinomialtestbayesianform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatsregressionlinearbayesianform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatscorrelationbayesianpairsform.h \
        $$PWD/analysisforms/R11tLearn/r11tlearnform.h \
		$$PWD/simplecrypt.h \
		$$PWD/simplecryptkey.h \
		$$PWD/importers/convertedstringcontainer.h \
		$$PWD/importers/importer.h \
		$$PWD/importers/importdataset.h \
		$$PWD/importers/importcolumn.h \
		$$PWD/importers/importerutils.h \
		$$PWD/importers/odsimporter.h \
		$$PWD/importers/csvimportcolumn.h \
		$$PWD/importers/spss/spssimportcolumn.h \
		$$PWD/importers/spss/spssimportdataset.h \
		$$PWD/preferencesdialog.h \
		$$PWD/importers/ods/odsimportcolumn.h \
		$$PWD/importers/ods/odsimportdataset.h \
		$$PWD/importers/ods/odssheetcell.h \
		$$PWD/importers/ods/odstypes.h \
		$$PWD/importers/ods/odsxmlcontentshandler.h \
		$$PWD/importers/ods/odsxmlhandler.h \
		$$PWD/importers/ods/odsxmlmanifesthandler.h

FORMS += \
        $$PWD/analysisforms/anovabayesianform.ui \
        $$PWD/analysisforms/ttestpairedsamplesform.ui \
        $$PWD/analysisforms/anovamultivariateform.ui \
        $$PWD/analysisforms/ttestbayesianonesampleform.ui \
        $$PWD/widgets/progresswidget.ui \
        $$PWD/widgets/anovamodelwidget.ui \
        $$PWD/analysisforms/ancovaform.ui \
        $$PWD/analysisforms/anovaform.ui \
        $$PWD/analysisforms/descriptivesform.ui \
        $$PWD/analysisforms/anovaonewayform.ui \
        $$PWD/analysisforms/ttestindependentsamplesform.ui \
        $$PWD/analysisforms/ttestonesampleform.ui \
        $$PWD/analysisforms/ancovamultivariateform.ui \
        $$PWD/analysisforms/regressionlinearform.ui \
        $$PWD/mainwindow.ui \
        $$PWD/analysisforms/correlationform.ui \
        $$PWD/widgets/boundassignwidget.ui \
        $$PWD/analysisforms/anovarepeatedmeasuresform.ui \
        $$PWD/analysisforms/contingencytablesform.ui \
        $$PWD/analysisforms/correlationpartialform.ui \
        $$PWD/ribbons/ribbonhome.ui \
        $$PWD/ribbons/ribbonsem.ui \
        $$PWD/ribbons/ribbonanalysis.ui \
        $$PWD/analysisforms/ttestbayesianindependentsamplesform.ui \
        $$PWD/analysisforms/ttestbayesianpairedsamplesform.ui \
        $$PWD/analysisforms/ancovabayesianform.ui \
        $$PWD/analysisforms/anovarepeatedmeasuresbayesianform.ui \
        $$PWD/analysisforms/correlationbayesianform.ui \
        $$PWD/analysisforms/correlationbayesianpairsform.ui \
        $$PWD/analysisforms/contingencytablesbayesianform.ui \
        $$PWD/analysisforms/regressionlinearbayesianform.ui \
        $$PWD/ribbons/ribbonr11tlearn.ui \
        $$PWD/backstage/backstagecomputer.ui \
        $$PWD/analysisforms/regressionloglinearform.ui \
        $$PWD/analysisforms/regressionloglinearbayesianform.ui \
        $$PWD/analysisforms/binomialtestform.ui \
        $$PWD/analysisforms/binomialtestbayesianform.ui \
        $$PWD/analysisforms/bffromtform.ui \
        $$PWD/ribbons/ribbonsummarystatistics.ui \
        $$PWD/variableswidget.ui \
        $$PWD/backstage/authwidget.ui\
        $$PWD/aboutdialog.ui \
		$$PWD/preferencesdialog.ui \
		$$PWD/analysisforms/exploratoryfactoranalysisform.ui \
        $$PWD/analysisforms/principalcomponentanalysisform.ui \
        $$PWD/analysisforms/reliabilityanalysisform.ui \
        $$PWD/analysisforms/SEM/semsimpleform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianindependentsamplesform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianonesampleform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianpairedsamplesform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatsbinomialtestbayesianform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatsregressionlinearbayesianform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatscorrelationbayesianpairsform.ui \
        $$PWD/analysisforms/R11tLearn/r11tlearnform.ui

RESOURCES += \
        $$PWD/backstage/backstage.qrc \
        $$PWD/html/html.qrc \
        $$PWD/resources/icons.qrc \
        $$PWD/resources/resources.qrc

   unix:OTHER_FILES += $$PWD/icon.icns
windows:OTHER_FILES += $$PWD/icon.rc

OTHER_FILES += \
        $$PWD/html/index.html \
        $$PWD/html/css/jquery-ui-1.10.1.custom.css \
        $$PWD/html/css/jquery-ui-1.10.1.custom.min.css \
        $$PWD/html/css/images/animated-overlay.gif \
        $$PWD/html/css/images/ui-bg_flat_0_aaaaaa_40x100.png \
        $$PWD/html/css/images/ui-bg_flat_75_ffffff_40x100.png \
        $$PWD/html/css/images/ui-bg_glass_55_fbf9ee_1x400.png \
        $$PWD/html/css/images/ui-bg_glass_65_ffffff_1x400.png \
        $$PWD/html/css/images/ui-bg_glass_75_dadada_1x400.png \
        $$PWD/html/css/images/ui-bg_glass_75_e6e6e6_1x400.png \
        $$PWD/html/css/images/ui-bg_glass_95_fef1ec_1x400.png \
        $$PWD/html/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png \
        $$PWD/html/css/images/ui-icons_2e83ff_256x240.png \
        $$PWD/html/css/images/ui-icons_222222_256x240.png \
        $$PWD/html/css/images/ui-icons_454545_256x240.png \
        $$PWD/html/css/images/ui-icons_888888_256x240.png \
        $$PWD/html/css/images/ui-icons_cd0a0a_256x240.png \
        $$PWD/html/js/jquery-1.9.1.js \
        $$PWD/html/js/jquery-ui-1.10.1.custom.js \
        $$PWD/html/js/jquery-ui-1.10.1.custom.min.js \
        $$PWD/html/js/main.js \
        $$PWD/html/js/underscore-min.js \
        $$PWD/html/js/underscore.js \
        $$PWD/html/js/table.js \
        $$PWD/html/js/tables.js \
        $$PWD/resources/expanded.png \
        $$PWD/resources/expander-arrow-down-disabled.png \
        $$PWD/resources/expander-arrow-down-hover.png \
        $$PWD/resources/expander-arrow-down.png \
        $$PWD/resources/expander-arrow-up-disabled.png \
        $$PWD/resources/expander-arrow-up-hover.png \
        $$PWD/resources/expander-arrow-up.png \
        $$PWD/resources/icons/accessories-calculator.png \
        $$PWD/resources/icons/accessories-text-editor.png \
        $$PWD/resources/icons/application-exit.png \
        $$PWD/resources/icons/application-vnd.oasis.opendocument.spreadsheet.png \
        $$PWD/resources/icons/application-x-kchart.png \
        $$PWD/resources/icons/applications-development.png \
        $$PWD/resources/icons/applications-education-mathematics.png \
        $$PWD/resources/icons/applications-education.png \
        $$PWD/resources/icons/applications-system.png \
        $$PWD/resources/icons/applications-toys.png \
        $$PWD/resources/icons/bookcase.png \
        $$PWD/resources/icons/core.png \
        $$PWD/resources/icons/dialog-close.png \
        $$PWD/resources/icons/document-new.png \
        $$PWD/resources/icons/document-open.png \
        $$PWD/resources/icons/document-print.png \
        $$PWD/resources/icons/document-save-as.png \
        $$PWD/resources/icons/document-save.png \
        $$PWD/resources/icons/edit-copy.png \
        $$PWD/resources/icons/edit-delete-shred.png \
        $$PWD/resources/icons/edit-find.png \
        $$PWD/resources/icons/edit-paste.png \
        $$PWD/resources/icons/edit-redo.png \
        $$PWD/resources/icons/edit-undo.png \
        $$PWD/resources/icons/emblem-favorite.png \
        $$PWD/resources/icons/folder-blue.png \
        $$PWD/resources/icons/folder-cyan.png \
        $$PWD/resources/icons/folder-grey.png \
        $$PWD/resources/icons/folder-orange.png \
        $$PWD/resources/icons/folder-red.png \
        $$PWD/resources/icons/folder-txt.png \
        $$PWD/resources/icons/folder-violet.png \
        $$PWD/resources/icons/folder-yellow.png \
        $$PWD/resources/icons/help-about.png \
        $$PWD/resources/icons/kbrunch.png \
        $$PWD/resources/icons/kchart.png \
        $$PWD/resources/icons/kcmpartitions.png \
        $$PWD/resources/icons/kcoloredit.png \
        $$PWD/resources/icons/preferences-system-session-services.png \
        $$PWD/resources/icons/roll.png \
        $$PWD/resources/icons/text-x-moc.png \
        $$PWD/resources/icons/tools-wizard.png \
        $$PWD/resources/icons/user-home.png \
        $$PWD/resources/arrow-left.png \
        $$PWD/resources/arrow-right.png \
        $$PWD/resources/osx/ribbonbutton.css \
        $$PWD/html/js/displaydefs.js \
        $$PWD/html/css/theme-spss.css \
        $$PWD/html/css/theme-jasp.css \
        $$PWD/resources/icons/variable-nominal.png \
        $$PWD/resources/icons/variable-ordinal.png \
        $$PWD/resources/icons/variable-scale.png \
        $$PWD/resources/icons/analysis-ttest.png \
        $$PWD/html/css/images/copy.png \
        $$PWD/html/css/images/running.gif \
        $$PWD/html/css/images/waiting.gif \
        $$PWD/resources/icons/toolbutton-descriptives.png \
        $$PWD/resources/icons/analysis-bayesian-crosstabs.png \
        $$PWD/resources/icons/analysis-bayesian-regression.png \
        $$PWD/resources/icons/analysis-bayesian-anova.png \
        $$PWD/resources/icons/analysis-bayesian-ttest.png \
        $$PWD/resources/icons/analysis-classical-anova.png \
        $$PWD/resources/icons/analysis-classical-crosstabs.png \
        $$PWD/resources/icons/analysis-classical-regression.png \
        $$PWD/resources/icons/analysis-classical-ttest.png \
        $$PWD/resources/icons/analysis-descriptives.png \
        $$PWD/resources/icons/analysis-background-mouseover.png \
        $$PWD/resources/icons/analysis-background-clicked.png \
        $$PWD/resources/icons/analysis-descriptives.svg \
        $$PWD/resources/icons/toolbutton-menu-indicator.svg \
        $$PWD/resources/icons/variable-scale.svg \
        $$PWD/resources/icons/variable-ordinal.svg \
        $$PWD/resources/icons/variable-nominal.svg \
        $$PWD/resources/icons/analysis-classical-regression.svg \
        $$PWD/resources/icons/analysis-classical-anova.svg \
        $$PWD/resources/icons/analysis-classical-ttest.svg \
        $$PWD/resources/icons/analysis-bayesian-ttest.svg \
        $$PWD/resources/icons/analysis-bayesian-anova.svg \
        $$PWD/resources/icons/analysis-bayesian-crosstabs.svg \
        $$PWD/resources/icons/analysis-classical-crosstabs.svg \
        $$PWD/resources/icons/analysis-bayesian-regression.svg \
        $$PWD/resources/icons/toolbutton-menu-indicator.svg \
        $$PWD/html/js/image.js \
        $$PWD/resources/icons/variable-scale-inactive.svg \
        $$PWD/resources/icons/variable-ordinal-inactive.svg \
        $$PWD/resources/icons/variable-nominal-inactive.svg \
        $$PWD/html/css/images/logo.svg \
        $$PWD/html/js/images.js \
        $$PWD/html/js/analysis.js \
        $$PWD/resources/icons/variable-nominal-text.svg \
        $$PWD/html/css/images/waiting.svg \
        $$PWD/resources/icons/analysis-classical-sem.svg \
        $$PWD/html/js/jaspwidget.js \
        $$PWD/html/js/backbone-min-1.1.2.js \
        $$PWD/html/css/images/resizer.png \
        $$PWD/html/css/images/arrowsmalldownbtn.png

HELP_PATH = $${PWD}/../Docs/help
RESOURCES_PATH = $${PWD}/../Resources

win32 {

        RESOURCES_PATH_DEST = $${OUT_PWD}/../Resources/

        RESOURCES_PATH ~= s,/,\\,g
        RESOURCES_PATH_DEST ~= s,/,\\,g

        copyres.commands  += $$quote(cmd /c xcopy /S /I /Y $${RESOURCES_PATH} $${RESOURCES_PATH_DEST})
}

macx {

        RESOURCES_PATH_DEST = $${OUT_PWD}/../../Resources/

        copyres.commands += $(MKDIR) $$RESOURCES_PATH_DEST ;
        copyres.commands += cp -R $$RESOURCES_PATH/* $$RESOURCES_PATH_DEST ;
}

linux {

        RESOURCES_PATH_DEST = $${OUT_PWD}/../Resources/

        copyres.commands += $(MKDIR) $$RESOURCES_PATH_DEST ;
        copyres.commands += cp -R $$RESOURCES_PATH/* $$RESOURCES_PATH_DEST ;
}

! equals(PWD, $${OUT_PWD}) {

        QMAKE_EXTRA_TARGETS += copyres
        POST_TARGETDEPS     += copyres
}

DISTFILES += \
        $$PWD/backstage/firsttabsstylesheet.qss \
        $$PWD/backstage/secondtabsstylesheet.qss \
        $$PWD/resources/icons/file-jasp.svg \
        $$PWD/html/css/images/tinylogo.svg

   macx:ICON = $$PWD/icon.icns
windows:RC_FILE = $$PWD/icon.rc

SOURCES += $$PWD/main.cpp \
        $$PWD/aboutdialog.cpp \
        $$PWD/analyses.cpp \
        $$PWD/mainwindow.cpp \
        $$PWD/datasettablemodel.cpp \
        $$PWD/enginesync.cpp \
        $$PWD/availablefields.cpp \
        $$PWD/asyncloader.cpp \
        $$PWD/maintableview.cpp \
        $$PWD/datasetloader.cpp \
        $$PWD/maintablehorizontalheader.cpp \
        $$PWD/widgets/assignbutton.cpp \
        $$PWD/widgets/availablefieldslistview.cpp \
        $$PWD/widgets/boundcheckbox.cpp \
        $$PWD/widgets/boundlistview.cpp \
        $$PWD/widgets/expanderbutton.cpp \
        $$PWD/widgets/infopopup.cpp \
        $$PWD/widgets/ribbonbutton.cpp \
        $$PWD/widgets/toolbutton.cpp \
        $$PWD/widgets/boundtextbox.cpp \
        $$PWD/widgets/boundgroupbox.cpp \
        $$PWD/widgets/progresswidget.cpp \
        $$PWD/widgets/anovamodelwidget.cpp \
        $$PWD/widgets/listview.cpp \
        $$PWD/widgets/draganddrop.cpp \
        $$PWD/widgets/assignbuttonmenu.cpp \
        $$PWD/widgets/tableview.cpp \
        $$PWD/widgets/boundpairstable.cpp \
        $$PWD/widgets/boundcombobox.cpp \
        $$PWD/widgets/boundtableview.cpp \
        $$PWD/widgets/tableviewmenueditor.cpp \
        $$PWD/widgets/tableviewmenueditordelegate.cpp \
        $$PWD/analysisforms/analysisform.cpp \
        $$PWD/analysisforms/anovabayesianform.cpp \
        $$PWD/analysisforms/ttestpairedsamplesform.cpp \
        $$PWD/analysisforms/anovamultivariateform.cpp \
        $$PWD/analysisforms/ttestbayesianonesampleform.cpp \
        $$PWD/analysisforms/ancovaform.cpp \
        $$PWD/analysisforms/anovaform.cpp \
        $$PWD/analysisforms/descriptivesform.cpp \
        $$PWD/analysisforms/anovaonewayform.cpp \
        $$PWD/analysisforms/ttestonesampleform.cpp \
        $$PWD/analysisforms/ttestindependentsamplesform.cpp \
        $$PWD/analysisforms/ancovamultivariateform.cpp \
        $$PWD/analysisforms/regressionlinearform.cpp \
        $$PWD/analysisforms/correlationform.cpp \
        $$PWD/widgets/boundassignwidget.cpp \
        $$PWD/analysisforms/anovarepeatedmeasuresform.cpp \
        $$PWD/analysisforms/contingencytablesform.cpp \
        $$PWD/analysisforms/correlationpartialform.cpp \
        $$PWD/ribbons/ribbonwidget.cpp \
        $$PWD/ribbons/ribbonsem.cpp \
        $$PWD/ribbons/ribbonanalysis.cpp \
        $$PWD/ribbons/ribbonhome.cpp \
        $$PWD/widgets/boundtextedit.cpp \
        $$PWD/widgets/stealthbutton.cpp \
        $$PWD/analysisforms/ttestbayesianindependentsamplesform.cpp \
        $$PWD/analysisforms/ttestbayesianpairedsamplesform.cpp \
        $$PWD/widgets/itemmodelselectitem.cpp \
        $$PWD/widgets/itemmodelselectvariable.cpp \
        $$PWD/widgets/tabbar.cpp \
        $$PWD/optionsform.cpp \
        $$PWD/widgets/textmodellavaan.cpp \
        $$PWD/terms.cpp \
        $$PWD/term.cpp \
        $$PWD/widgets/tablemodelanovamodelnuisancefactors.cpp \
        $$PWD/widgets/tablemodelpairsassigned.cpp \
        $$PWD/widgets/tablemodelvariables.cpp \
        $$PWD/widgets/tablemodelvariablesassigned.cpp \
        $$PWD/widgets/tablemodelvariablesavailable.cpp \
        $$PWD/widgets/tablemodelvariableslevels.cpp \
        $$PWD/widgets/tablemodelvariablesoptions.cpp \
        $$PWD/widgets/tablemodelanovamodel.cpp \
        $$PWD/widgets/tablemodelcontrasts.cpp \
        $$PWD/widgets/tablemodelanovadesign.cpp \
        $$PWD/appdirs.cpp \
        $$PWD/widgets/tablemodelanovawithinsubjectcells.cpp \
        $$PWD/analysisforms/ancovabayesianform.cpp \
        $$PWD/analysisforms/anovarepeatedmeasuresbayesianform.cpp \
        $$PWD/analysisforms/correlationbayesianform.cpp \
        $$PWD/analysisforms/contingencytablesbayesianform.cpp \
        $$PWD/analysisforms/correlationbayesianpairsform.cpp \
        $$PWD/application.cpp \
        $$PWD/analysisforms/regressionlinearbayesianform.cpp \
        $$PWD/qutils.cpp \
        $$PWD/activitylog.cpp \
        $$PWD/lrnamreply.cpp \
        $$PWD/lrnam.cpp \
        $$PWD/widgets/webview.cpp \
        $$PWD/widgets/button.cpp \
        $$PWD/ribbons/ribbonr11tlearn.cpp \
        $$PWD/backstage/breadcrumbs.cpp \
        $$PWD/backstage/verticaltabbar.cpp \
        $$PWD/backstage/verticaltabwidget.cpp \
        $$PWD/backstagewidget.cpp \
        $$PWD/backstage/fsentrywidget.cpp \
        $$PWD/backstage/fsbrowser.cpp \
        $$PWD/backstage/verticalscrollarea.cpp \
        $$PWD/backstage/elidelabel.cpp \
        $$PWD/backstage/backstageosf.cpp \
        $$PWD/backstage/backstagecomputer.cpp \
        $$PWD/backstage/backstagepage.cpp \
        $$PWD/backstage/opensavewidget.cpp \
        $$PWD/analysisforms/regressionloglinearform.cpp \
        $$PWD/analysisforms/regressionloglinearbayesianform.cpp \
        $$PWD/backstage/fsbmexamples.cpp \
        $$PWD/backstage/fsbmodel.cpp \
        $$PWD/backstage/fsbmcomputer.cpp \
		$$PWD/backstage/fsbmrecent.cpp \
		$$PWD/backstage/fsbmcurrent.cpp \
		$$PWD/backstage/fsbmrecentfolders.cpp \
        $$PWD/fileevent.cpp \
        $$PWD/widgets/boundsingleitemview.cpp \
        $$PWD/analysisforms/binomialtestform.cpp \
        $$PWD/analysisforms/binomialtestbayesianform.cpp \
        $$PWD/analysisforms/bffromtform.cpp \
        $$PWD/ribbons/ribbonsummarystatistics.cpp \
        $$PWD/variableswidget.cpp \
        $$PWD/variablespage/levelstablemodel.cpp \
        $$PWD/variablespage/variablestablemodel.cpp \
        $$PWD/backstage/fsbmosf.cpp \
        $$PWD/osfnam.cpp \
        $$PWD/onlinedatamanager.cpp \
        $$PWD/onlinedataconnection.cpp \
        $$PWD/onlinedatanodeosf.cpp \
        $$PWD/onlinedatanode.cpp \
        $$PWD/onlineusernode.cpp \
        $$PWD/onlinenode.cpp \
        $$PWD/onlineusernodeosf.cpp \
        $$PWD/backstage/authwidget.cpp \
        $$PWD/exporters/dataexporter.cpp \
        $$PWD/exporters/exporter.cpp \
        $$PWD/exporters/jaspexporter.cpp \
        $$PWD/exporters/resultexporter.cpp \
        $$PWD/importers/spss/characterencodingrecord.cpp \
        $$PWD/importers/spss/datainforecord.cpp \
        $$PWD/importers/spss/datarecords.cpp \
        $$PWD/importers/spss/dictionaryterminationrecord.cpp \
        $$PWD/importers/spss/documentrecord.cpp \
        $$PWD/importers/spss/extnumbercasesrecord.cpp \
        $$PWD/importers/spss/fileheaderrecord.cpp \
        $$PWD/importers/spss/floatinforecord.cpp \
        $$PWD/importers/spss/integerinforecord.cpp \
        $$PWD/importers/spss/longvarnamesrecord.cpp \
        $$PWD/importers/spss/miscinforecord.cpp \
        $$PWD/importers/spss/missingvaluechecker.cpp \
        $$PWD/importers/spss/numericconvertor.cpp \
        $$PWD/importers/spss/readablerecord.cpp \
        $$PWD/importers/spss/stringutils.cpp \
        $$PWD/importers/spss/valuelabelvarsrecord.cpp \
        $$PWD/importers/spss/vardisplayparamrecord.cpp \
        $$PWD/importers/spss/variablerecord.cpp \
        $$PWD/importers/spss/verylongstringrecord.cpp \
		$$PWD/importers/spss/spssimportcolumn.cpp \
		$$PWD/importers/spss/spssimportdataset.cpp \
		$$PWD/importers/ods/odsimportcolumn.cpp \
		$$PWD/importers/ods/odsimportdataset.cpp \
		$$PWD/importers/ods/odssheetcell.cpp \
		$$PWD/importers/ods/odstypes.cpp \
		$$PWD/importers/ods/odsxmlcontentshandler.cpp \
		$$PWD/importers/ods/odsxmlhandler.cpp \
		$$PWD/importers/ods/odsxmlmanifesthandler.cpp \
		$$PWD/importers/odsimporter.cpp \
		$$PWD/importers/csv.cpp \
		$$PWD/importers/csvimporter.cpp \
		$$PWD/importers/jaspimporter.cpp \
		$$PWD/importers/spssimporter.cpp \
		$$PWD/importers/codepageconvert.cpp \
		$$PWD/analysisforms/exploratoryfactoranalysisform.cpp \
        $$PWD/analysisforms/principalcomponentanalysisform.cpp \
        $$PWD/analysisforms/reliabilityanalysisform.cpp \
        $$PWD/analysisforms/SEM/semsimpleform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianindependentsamplesform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianonesampleform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianpairedsamplesform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatsbinomialtestbayesianform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatsregressionlinearbayesianform.cpp \
        $$PWD/analysisforms/SummaryStatistics/summarystatscorrelationbayesianpairsform.cpp \
        $$PWD/analysisforms/R11tLearn/r11tlearnform.cpp \
		$$PWD/simplecrypt.cpp \
		$$PWD/importers/convertedstringcontainer.cpp \
		$$PWD/importers/importer.cpp \
		$$PWD/importers/importdataset.cpp \
		$$PWD/importers/importcolumn.cpp \
		$$PWD/importers/csvimportcolumn.cpp \
		$$PWD/preferencesdialog.cpp

HEADERS  += \
        $$PWD/aboutdialog.h \
        $$PWD/analyses.h \
        $$PWD/datasettablemodel.h \
        $$PWD/enginesync.h \
        $$PWD/availablefields.h \
        $$PWD/analysisforms/analysisform.h \
        $$PWD/datasetloader.h \
        $$PWD/widgets/assignbutton.h \
        $$PWD/widgets/availablefieldslistview.h \
        $$PWD/widgets/boundcheckbox.h \
        $$PWD/widgets/boundlistview.h \
        $$PWD/widgets/expanderbutton.h \
        $$PWD/widgets/infopopup.h \
        $$PWD/widgets/ribbonbutton.h \
        $$PWD/widgets/toolbutton.h \
        $$PWD/widgets/boundtextbox.h \
        $$PWD/widgets/boundgroupbox.h \
        $$PWD/analysisforms/anovabayesianform.h \
        $$PWD/analysisforms/ttestpairedsamplesform.h \
        $$PWD/analysisforms/anovamultivariateform.h \
        $$PWD/analysisforms/ttestbayesianonesampleform.h \
        $$PWD/widgets/boundpairstable.h \
        $$PWD/asyncloader.h \
        $$PWD/widgets/progresswidget.h \
        $$PWD/widgets/anovamodelwidget.h \
        $$PWD/bound.h \
        $$PWD/widgets/boundmodel.h \
        $$PWD/widgets/listview.h \
        $$PWD/widgets/draganddrop.h \
        $$PWD/widgets/assignbuttonmenu.h \
        $$PWD/widgets/enhanceddroptarget.h \
        $$PWD/widgets/tableview.h \
        $$PWD/maintableview.h \
        $$PWD/widgets/droptarget.h \
        $$PWD/widgets/tablemodel.h \
        $$PWD/analysisforms/ancovaform.h \
        $$PWD/analysisforms/anovaform.h \
        $$PWD/analysisforms/descriptivesform.h \
        $$PWD/analysisforms/anovaonewayform.h \
        $$PWD/analysisforms/ttestindependentsamplesform.h \
        $$PWD/analysisforms/ttestonesampleform.h \
        $$PWD/analysisforms/ancovamultivariateform.h \
        $$PWD/maintablehorizontalheader.h \
        $$PWD/analysisforms/regressionlinearform.h \
        $$PWD/mainwindow.h \
        $$PWD/analysisforms/correlationform.h \
        $$PWD/widgets/boundcombobox.h \
        $$PWD/widgets/boundtableview.h \
        $$PWD/widgets/tableviewmenueditor.h \
        $$PWD/widgets/tableviewmenueditordelegate.h \
        $$PWD/widgets/boundassignwidget.h \
        $$PWD/analysisforms/anovarepeatedmeasuresform.h \
        $$PWD/analysisforms/contingencytablesform.h \
        $$PWD/analysisforms/correlationpartialform.h \
        $$PWD/ribbons/ribbonwidget.h \
        $$PWD/ribbons/ribbonsem.h \
        $$PWD/ribbons/ribbonanalysis.h \
        $$PWD/ribbons/ribbonhome.h \
        $$PWD/widgets/boundtextedit.h \
        $$PWD/widgets/stealthbutton.h \
        $$PWD/analysisforms/ttestbayesianindependentsamplesform.h \
        $$PWD/analysisforms/ttestbayesianpairedsamplesform.h \
        $$PWD/widgets/itemmodelselectitem.h \
        $$PWD/widgets/itemmodelselectvariable.h \
        $$PWD/widgets/tabbar.h \
        $$PWD/optionsform.h \
        $$PWD/widgets/textmodellavaan.h \
        $$PWD/term.h \
        $$PWD/terms.h \
        $$PWD/variableinfo.h \
        $$PWD/widgets/tablemodelanovamodelnuisancefactors.h \
        $$PWD/widgets/tablemodelpairsassigned.h \
        $$PWD/widgets/tablemodelvariables.h \
        $$PWD/widgets/tablemodelvariablesassigned.h \
        $$PWD/widgets/tablemodelvariablesavailable.h \
        $$PWD/widgets/tablemodelvariableslevels.h \
        $$PWD/widgets/tablemodelvariablesoptions.h \
        $$PWD/widgets/tablemodelanovamodel.h \
        $$PWD/widgets/tablemodelcontrasts.h \
        $$PWD/widgets/tablemodelanovadesign.h \
        $$PWD/appdirs.h \
        $$PWD/widgets/tablemodelanovawithinsubjectcells.h \
        $$PWD/analysisforms/ancovabayesianform.h \
        $$PWD/analysisforms/anovarepeatedmeasuresbayesianform.h \
        $$PWD/analysisforms/correlationbayesianform.h \
        $$PWD/analysisforms/contingencytablesbayesianform.h \
        $$PWD/analysisforms/correlationbayesianpairsform.h \
        $$PWD/application.h \
        $$PWD/analysisforms/regressionlinearbayesianform.h \
        $$PWD/qutils.h \
        $$PWD/activitylog.h \
        $$PWD/lrnamreply.h \
        $$PWD/lrnam.h \
        $$PWD/widgets/groupbox.h \
        $$PWD/widgets/button.h \
        $$PWD/widgets/webview.h \
        $$PWD/ribbons/ribbonr11tlearn.h \
        $$PWD/backstage/breadcrumbs.h \
        $$PWD/backstage/verticaltabbar.h \
        $$PWD/backstage/verticaltabwidget.h \
        $$PWD/backstagewidget.h \
        $$PWD/backstage/fsentrywidget.h \
        $$PWD/backstage/fsbrowser.h \
        $$PWD/backstage/fsentry.h \
        $$PWD/backstage/verticalscrollarea.h \
        $$PWD/backstage/elidelabel.h \
        $$PWD/backstage/backstageosf.h \
        $$PWD/backstage/backstagecomputer.h \
        $$PWD/backstage/backstagepage.h \
        $$PWD/backstage/opensavewidget.h \
        $$PWD/analysisforms/regressionloglinearform.h \
        $$PWD/analysisforms/regressionloglinearbayesianform.h \
        $$PWD/backstage/fsbmexamples.h \
        $$PWD/backstage/fsbmodel.h \
        $$PWD/backstage/fsbmcomputer.h \
		$$PWD/backstage/fsbmrecent.h \
		$$PWD/backstage/fsbmcurrent.h \
		$$PWD/backstage/fsbmrecentfolders.h \
        $$PWD/fileevent.h \
        $$PWD/widgets/boundsingleitemview.h \
        $$PWD/analysisforms/binomialtestform.h \
        $$PWD/analysisforms/binomialtestbayesianform.h \
        $$PWD/analysisforms/bffromtform.h \
        $$PWD/ribbons/ribbonsummarystatistics.h \
        $$PWD/variableswidget.h \
        $$PWD/variablespage/levelstablemodel.h \
        $$PWD/variablespage/variablestablemodel.h \
        $$PWD/backstage/fsbmosf.h \
        $$PWD/osfnam.h \
        $$PWD/onlinedatamanager.h \
        $$PWD/onlinedataconnection.h \
        $$PWD/onlinedatanodeosf.h \
        $$PWD/onlinedatanode.h \
        $$PWD/onlineusernode.h \
        $$PWD/onlinenode.h \
        $$PWD/onlineusernodeosf.h \
        $$PWD/backstage/authwidget.h \
        $$PWD/exporters/dataexporter.h \
        $$PWD/exporters/exporter.h \
        $$PWD/exporters/jaspexporter.h \
        $$PWD/exporters/resultexporter.h \
        $$PWD/importers/spss/characterencodingrecord.h \
        $$PWD/importers/spss/cpconverter.h \
        $$PWD/importers/spss/datainforecord.h \
        $$PWD/importers/spss/datarecords.h \
        $$PWD/importers/spss/dictionaryterminationrecord.h \
        $$PWD/importers/spss/documentrecord.h \
        $$PWD/importers/spss/extnumbercasesrecord.h \
        $$PWD/importers/spss/fileheaderrecord.h \
        $$PWD/importers/spss/floatinforecord.h \
        $$PWD/importers/spss/integerinforecord.h \
        $$PWD/importers/spss/longvarnamesrecord.h \
        $$PWD/importers/spss/measures.h \
        $$PWD/importers/spss/miscinforecord.h \
        $$PWD/importers/spss/missingvaluechecker.h \
        $$PWD/importers/spss/numericconverter.h \
        $$PWD/importers/spss/readablerecord.h \
        $$PWD/importers/spss/spssstream.h \
        $$PWD/importers/spss/stringutils.h \
        $$PWD/importers/spss/systemfileformat.h \
        $$PWD/importers/spss/valuelabelvarsrecord.h \
        $$PWD/importers/spss/vardisplayparamrecord.h \
        $$PWD/importers/spss/variablerecord.h \
        $$PWD/importers/spss/verylongstringrecord.h \
        $$PWD/importers/codepageconvert.h \
        $$PWD/importers/csv.h \
        $$PWD/importers/csvimporter.h \
        $$PWD/importers/jaspimporter.h \
        $$PWD/importers/spssimporter.h \
		$$PWD/importers/spss/spssformattype.h \
		$$PWD/analysisforms/exploratoryfactoranalysisform.h \
        $$PWD/analysisforms/principalcomponentanalysisform.h \
        $$PWD/analysisforms/reliabilityanalysisform.h \
        $$PWD/analysisforms/SEM/semsimpleform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianindependentsamplesform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianonesampleform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianpairedsamplesform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatsbinomialtestbayesianform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatsregressionlinearbayesianform.h \
        $$PWD/analysisforms/SummaryStatistics/summarystatscorrelationbayesianpairsform.h \
        $$PWD/analysisforms/R11tLearn/r11tlearnform.h \
		$$PWD/simplecrypt.h \
		$$PWD/simplecryptkey.h \
		$$PWD/importers/convertedstringcontainer.h \
		$$PWD/importers/importer.h \
		$$PWD/importers/importdataset.h \
		$$PWD/importers/importcolumn.h \
		$$PWD/importers/importerutils.h \
		$$PWD/importers/odsimporter.h \
		$$PWD/importers/csvimportcolumn.h \
		$$PWD/importers/spss/spssimportcolumn.h \
		$$PWD/importers/spss/spssimportdataset.h \
		$$PWD/preferencesdialog.h \
		$$PWD/importers/ods/odsimportcolumn.h \
		$$PWD/importers/ods/odsimportdataset.h \
		$$PWD/importers/ods/odssheetcell.h \
		$$PWD/importers/ods/odstypes.h \
		$$PWD/importers/ods/odsxmlcontentshandler.h \
		$$PWD/importers/ods/odsxmlcontentshandler.h.orig \
		$$PWD/importers/ods/odsxmlhandler.h \
		$$PWD/importers/ods/odsxmlmanifesthandler.h

FORMS += \
        $$PWD/analysisforms/anovabayesianform.ui \
        $$PWD/analysisforms/ttestpairedsamplesform.ui \
        $$PWD/analysisforms/anovamultivariateform.ui \
        $$PWD/analysisforms/ttestbayesianonesampleform.ui \
        $$PWD/widgets/progresswidget.ui \
        $$PWD/widgets/anovamodelwidget.ui \
        $$PWD/analysisforms/ancovaform.ui \
        $$PWD/analysisforms/anovaform.ui \
        $$PWD/analysisforms/descriptivesform.ui \
        $$PWD/analysisforms/anovaonewayform.ui \
        $$PWD/analysisforms/ttestindependentsamplesform.ui \
        $$PWD/analysisforms/ttestonesampleform.ui \
        $$PWD/analysisforms/ancovamultivariateform.ui \
        $$PWD/analysisforms/regressionlinearform.ui \
        $$PWD/mainwindow.ui \
        $$PWD/analysisforms/correlationform.ui \
        $$PWD/widgets/boundassignwidget.ui \
        $$PWD/analysisforms/anovarepeatedmeasuresform.ui \
        $$PWD/analysisforms/contingencytablesform.ui \
        $$PWD/analysisforms/correlationpartialform.ui \
        $$PWD/ribbons/ribbonhome.ui \
        $$PWD/ribbons/ribbonsem.ui \
        $$PWD/ribbons/ribbonanalysis.ui \
        $$PWD/analysisforms/ttestbayesianindependentsamplesform.ui \
        $$PWD/analysisforms/ttestbayesianpairedsamplesform.ui \
        $$PWD/analysisforms/ancovabayesianform.ui \
        $$PWD/analysisforms/anovarepeatedmeasuresbayesianform.ui \
        $$PWD/analysisforms/correlationbayesianform.ui \
        $$PWD/analysisforms/correlationbayesianpairsform.ui \
        $$PWD/analysisforms/contingencytablesbayesianform.ui \
        $$PWD/analysisforms/regressionlinearbayesianform.ui \
        $$PWD/ribbons/ribbonr11tlearn.ui \
        $$PWD/backstage/backstagecomputer.ui \
        $$PWD/analysisforms/regressionloglinearform.ui \
        $$PWD/analysisforms/regressionloglinearbayesianform.ui \
        $$PWD/analysisforms/binomialtestform.ui \
        $$PWD/analysisforms/binomialtestbayesianform.ui \
        $$PWD/analysisforms/bffromtform.ui \
        $$PWD/ribbons/ribbonsummarystatistics.ui \
        $$PWD/variableswidget.ui \
        $$PWD/backstage/authwidget.ui\
        $$PWD/aboutdialog.ui \
		$$PWD/preferencesdialog.ui \
		$$PWD/analysisforms/exploratoryfactoranalysisform.ui \
        $$PWD/analysisforms/principalcomponentanalysisform.ui \
        $$PWD/analysisforms/reliabilityanalysisform.ui \
        $$PWD/analysisforms/SEM/semsimpleform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianindependentsamplesform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianonesampleform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatsttestbayesianpairedsamplesform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatsbinomialtestbayesianform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatsregressionlinearbayesianform.ui \
        $$PWD/analysisforms/SummaryStatistics/summarystatscorrelationbayesianpairsform.ui \
        $$PWD/analysisforms/R11tLearn/r11tlearnform.ui

RESOURCES += \
        $$PWD/backstage/backstage.qrc \
        $$PWD/html/html.qrc \
        $$PWD/resources/icons.qrc \
        $$PWD/resources/resources.qrc

   unix:OTHER_FILES += $$PWD/icon.icns
windows:OTHER_FILES += $$PWD/icon.rc

OTHER_FILES += \
        $$PWD/html/index.html \
        $$PWD/html/css/jquery-ui-1.10.1.custom.css \
        $$PWD/html/css/jquery-ui-1.10.1.custom.min.css \
        $$PWD/html/css/images/animated-overlay.gif \
        $$PWD/html/css/images/ui-bg_flat_0_aaaaaa_40x100.png \
        $$PWD/html/css/images/ui-bg_flat_75_ffffff_40x100.png \
        $$PWD/html/css/images/ui-bg_glass_55_fbf9ee_1x400.png \
        $$PWD/html/css/images/ui-bg_glass_65_ffffff_1x400.png \
        $$PWD/html/css/images/ui-bg_glass_75_dadada_1x400.png \
        $$PWD/html/css/images/ui-bg_glass_75_e6e6e6_1x400.png \
        $$PWD/html/css/images/ui-bg_glass_95_fef1ec_1x400.png \
        $$PWD/html/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png \
        $$PWD/html/css/images/ui-icons_2e83ff_256x240.png \
        $$PWD/html/css/images/ui-icons_222222_256x240.png \
        $$PWD/html/css/images/ui-icons_454545_256x240.png \
        $$PWD/html/css/images/ui-icons_888888_256x240.png \
        $$PWD/html/css/images/ui-icons_cd0a0a_256x240.png \
        $$PWD/html/js/jquery-1.9.1.js \
        $$PWD/html/js/jquery-ui-1.10.1.custom.js \
        $$PWD/html/js/jquery-ui-1.10.1.custom.min.js \
        $$PWD/html/js/main.js \
        $$PWD/html/js/underscore-min.js \
        $$PWD/html/js/underscore.js \
        $$PWD/html/js/table.js \
        $$PWD/html/js/tables.js \
        $$PWD/resources/expanded.png \
        $$PWD/resources/expander-arrow-down-disabled.png \
        $$PWD/resources/expander-arrow-down-hover.png \
        $$PWD/resources/expander-arrow-down.png \
        $$PWD/resources/expander-arrow-up-disabled.png \
        $$PWD/resources/expander-arrow-up-hover.png \
        $$PWD/resources/expander-arrow-up.png \
        $$PWD/resources/icons/accessories-calculator.png \
        $$PWD/resources/icons/accessories-text-editor.png \
        $$PWD/resources/icons/application-exit.png \
        $$PWD/resources/icons/application-vnd.oasis.opendocument.spreadsheet.png \
        $$PWD/resources/icons/application-x-kchart.png \
        $$PWD/resources/icons/applications-development.png \
        $$PWD/resources/icons/applications-education-mathematics.png \
        $$PWD/resources/icons/applications-education.png \
        $$PWD/resources/icons/applications-system.png \
        $$PWD/resources/icons/applications-toys.png \
        $$PWD/resources/icons/bookcase.png \
        $$PWD/resources/icons/core.png \
        $$PWD/resources/icons/dialog-close.png \
        $$PWD/resources/icons/document-new.png \
        $$PWD/resources/icons/document-open.png \
        $$PWD/resources/icons/document-print.png \
        $$PWD/resources/icons/document-save-as.png \
        $$PWD/resources/icons/document-save.png \
        $$PWD/resources/icons/edit-copy.png \
        $$PWD/resources/icons/edit-delete-shred.png \
        $$PWD/resources/icons/edit-find.png \
        $$PWD/resources/icons/edit-paste.png \
        $$PWD/resources/icons/edit-redo.png \
        $$PWD/resources/icons/edit-undo.png \
        $$PWD/resources/icons/emblem-favorite.png \
        $$PWD/resources/icons/folder-blue.png \
        $$PWD/resources/icons/folder-cyan.png \
        $$PWD/resources/icons/folder-grey.png \
        $$PWD/resources/icons/folder-orange.png \
        $$PWD/resources/icons/folder-red.png \
        $$PWD/resources/icons/folder-txt.png \
        $$PWD/resources/icons/folder-violet.png \
        $$PWD/resources/icons/folder-yellow.png \
        $$PWD/resources/icons/help-about.png \
        $$PWD/resources/icons/kbrunch.png \
        $$PWD/resources/icons/kchart.png \
        $$PWD/resources/icons/kcmpartitions.png \
        $$PWD/resources/icons/kcoloredit.png \
        $$PWD/resources/icons/preferences-system-session-services.png \
        $$PWD/resources/icons/roll.png \
        $$PWD/resources/icons/text-x-moc.png \
        $$PWD/resources/icons/tools-wizard.png \
        $$PWD/resources/icons/user-home.png \
        $$PWD/resources/arrow-left.png \
        $$PWD/resources/arrow-right.png \
        $$PWD/resources/osx/ribbonbutton.css \
        $$PWD/html/js/displaydefs.js \
        $$PWD/html/css/theme-spss.css \
        $$PWD/html/css/theme-jasp.css \
        $$PWD/resources/icons/variable-nominal.png \
        $$PWD/resources/icons/variable-ordinal.png \
        $$PWD/resources/icons/variable-scale.png \
        $$PWD/resources/icons/analysis-ttest.png \
        $$PWD/html/css/images/copy.png \
        $$PWD/html/css/images/running.gif \
        $$PWD/html/css/images/waiting.gif \
        $$PWD/resources/icons/toolbutton-descriptives.png \
        $$PWD/resources/icons/analysis-bayesian-crosstabs.png \
        $$PWD/resources/icons/analysis-bayesian-regression.png \
        $$PWD/resources/icons/analysis-bayesian-anova.png \
        $$PWD/resources/icons/analysis-bayesian-ttest.png \
        $$PWD/resources/icons/analysis-classical-anova.png \
        $$PWD/resources/icons/analysis-classical-crosstabs.png \
        $$PWD/resources/icons/analysis-classical-regression.png \
        $$PWD/resources/icons/analysis-classical-ttest.png \
        $$PWD/resources/icons/analysis-descriptives.png \
        $$PWD/resources/icons/analysis-background-mouseover.png \
        $$PWD/resources/icons/analysis-background-clicked.png \
        $$PWD/resources/icons/analysis-descriptives.svg \
        $$PWD/resources/icons/toolbutton-menu-indicator.svg \
        $$PWD/resources/icons/variable-scale.svg \
        $$PWD/resources/icons/variable-ordinal.svg \
        $$PWD/resources/icons/variable-nominal.svg \
        $$PWD/resources/icons/analysis-classical-regression.svg \
        $$PWD/resources/icons/analysis-classical-anova.svg \
        $$PWD/resources/icons/analysis-classical-ttest.svg \
        $$PWD/resources/icons/analysis-bayesian-ttest.svg \
        $$PWD/resources/icons/analysis-bayesian-anova.svg \
        $$PWD/resources/icons/analysis-bayesian-crosstabs.svg \
        $$PWD/resources/icons/analysis-classical-crosstabs.svg \
        $$PWD/resources/icons/analysis-bayesian-regression.svg \
        $$PWD/resources/icons/toolbutton-menu-indicator.svg \
        $$PWD/html/js/image.js \
        $$PWD/resources/icons/variable-scale-inactive.svg \
        $$PWD/resources/icons/variable-ordinal-inactive.svg \
        $$PWD/resources/icons/variable-nominal-inactive.svg \
        $$PWD/html/css/images/logo.svg \
        $$PWD/html/js/images.js \
        $$PWD/html/js/analysis.js \
        $$PWD/resources/icons/variable-nominal-text.svg \
        $$PWD/html/css/images/waiting.svg \
        $$PWD/resources/icons/analysis-classical-sem.svg \
        $$PWD/html/js/jaspwidget.js \
        $$PWD/html/js/backbone-min-1.1.2.js \
        $$PWD/html/css/images/resizer.png \
        $$PWD/html/css/images/arrowsmalldownbtn.png

HELP_PATH = $${PWD}/../Docs/help
RESOURCES_PATH = $${PWD}/../Resources

win32 {

        RESOURCES_PATH_DEST = $${OUT_PWD}/../Resources/

        RESOURCES_PATH ~= s,/,\\,g
        RESOURCES_PATH_DEST ~= s,/,\\,g

        copyres.commands  += $$quote(cmd /c xcopy /S /I /Y $${RESOURCES_PATH} $${RESOURCES_PATH_DEST})
}

macx {

        RESOURCES_PATH_DEST = $${OUT_PWD}/../../Resources/

        copyres.commands += $(MKDIR) $$RESOURCES_PATH_DEST ;
        copyres.commands += cp -R $$RESOURCES_PATH/* $$RESOURCES_PATH_DEST ;
}

linux {

        RESOURCES_PATH_DEST = $${OUT_PWD}/../Resources/

        copyres.commands += $(MKDIR) $$RESOURCES_PATH_DEST ;
        copyres.commands += cp -R $$RESOURCES_PATH/* $$RESOURCES_PATH_DEST ;
}

! equals(PWD, $${OUT_PWD}) {

        QMAKE_EXTRA_TARGETS += copyres
        POST_TARGETDEPS     += copyres
}

DISTFILES += \
        $$PWD/backstage/firsttabsstylesheet.qss \
        $$PWD/backstage/secondtabsstylesheet.qss \
        $$PWD/resources/icons/file-jasp.svg \
        $$PWD/html/css/images/tinylogo.svg


Switch on DEF files

Switch on DEF files

DEF files containing the frozen DLL exports are in use for Symbian OS
builds, except developer builds (configured with -developer-build)

The reason for this exception is that developer builds export additional
private interfaces to allow autotests to inject or monitor the internal
data of a class.

These autotest exports are not part of the API or the binary interface,
so they are excluded from DEF files.

Task-number: QTBUG-4436
Reviewed-by: Jason Barron

isEmpty(TARGET):error(You must set TARGET before include()'ing $${_FILE_})
INCLUDEPATH *= $$QMAKE_INCDIR_QT/$$TARGET #just for today to have some compat
!isEmpty(RCC_DIR): INCLUDEPATH += $$RCC_DIR
isEmpty(QT_ARCH):!isEmpty(ARCH):QT_ARCH=$$ARCH #another compat that will rot for change #215700
TEMPLATE	= lib
isEmpty(QT_MAJOR_VERSION) {
   VERSION=4.6.0
} else {
   VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
}
mac:!contains(QMAKE_EXT_C, .mm):QMAKE_EXT_C += .mm

#load up the headers info
CONFIG += qt_install_headers
HEADERS_PRI = $$QT_BUILD_TREE/include/$$TARGET/headers.pri
include($$HEADERS_PRI, "", true)|clear(HEADERS_PRI)

#version overriding
win32 {
    #because libnetwork.pro could be qmake'd (qmade?) before libqcore.pro we
    #need to override the version of libq* in all other libq*'s just to be
    #sure the same version is used
	VERSIONS_LIST = $$split(VERSION, ".")
    QT_LIBS_OVERRIDE = $$member(VERSIONS_LIST, 0)
	for(lib, $$list(qtcore qtgui qtnetwork qtxml qtopengl qtsql qt3support)) {
        eval(QMAKE_$${upper($$lib)}_VERSION_OVERRIDE = $$QT_LIBS_OVERRIDE)
	eval(QMAKE_$${upper($$lib)}D_VERSION_OVERRIDE = $$QT_LIBS_OVERRIDE)
    }
}

#other
DESTDIR		 = $$QMAKE_LIBDIR_QT
win32:!wince*:DLLDESTDIR = $$[QT_INSTALL_PREFIX]/bin

CONFIG		+= qt warn_on depend_includepath
CONFIG          += qmake_cache target_qt
CONFIG          -= fix_output_dirs
win32|mac:!macx-xcode:CONFIG += debug_and_release
linux-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF

contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
contains(QT_CONFIG, largefile):CONFIG += largefile

#mac frameworks
mac:!static:contains(QT_CONFIG, qt_framework) {
   #QMAKE_FRAMEWORK_VERSION = 4.0
   CONFIG += lib_bundle qt_no_framework_direct_includes qt_framework
   CONFIG(debug, debug|release) {
      !build_pass:CONFIG += build_all
   } else { #release
      !debug_and_release|build_pass {
	  CONFIG -= qt_install_headers #no need to install these as well
	  FRAMEWORK_HEADERS.version = Versions
	  FRAMEWORK_HEADERS.files = $$SYNCQT.HEADER_FILES $$SYNCQT.HEADER_CLASSES
      	  FRAMEWORK_HEADERS.path = Headers
      	  equals(TARGET, QtCore) {
              #headers generated by configure
              !contains(FRAMEWORK_HEADERS.files, .*/qconfig.h) {
	          FRAMEWORK_HEADERS.files *= $$QT_BUILD_TREE/src/corelib/global/qconfig.h
	      }
          }
      }
      QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
   }
}

mac {
   CONFIG += explicitlib
   macx-g++ {
       QMAKE_CFLAGS += -fconstant-cfstrings
       QMAKE_CXXFLAGS += -fconstant-cfstrings
   }
}

win32:!shared:CONFIG += static

win32-borland {
    mng:QMAKE_CFLAGS_WARN_ON	+= -w-par
    mng:QMAKE_CXXFLAGS_WARN_ON	+= -w-par
    # Keep the size of the .tds file for the Qt library smaller than
    # 34 Mbytes to avoid linking problems
    QMAKE_CFLAGS_DEBUG += -vi -y-
    QMAKE_CXXFLAGS_DEBUG += -vi -y-
}

win32 {
    CONFIG += zlib
    INCLUDEPATH += tmp
    !static: DEFINES+=QT_MAKEDLL
}
symbian {
    shared {
        DEFINES+=QT_MAKEDLL
        TARGET.CAPABILITY = All -Tcb

        defBlock = \
        "$${LITERAL_HASH}ifdef WINSCW" \
        "DEFFILE ../s60installs/bwins/$${TARGET}.def" \
        "$${LITERAL_HASH}elif defined EABI" \
        "DEFFILE ../s60installs/eabi/$${TARGET}.def" \
        "$${LITERAL_HASH}endif"

        contains(QT_CONFIG, private_tests) {
            #When building autotest configuration, there are extra exports from
            #the Qt DLLs, which we don't want in the frozen DEF files.
            MMP_RULES += EXPORTUNFROZEN
        } else {
            #When building without autotests, DEF files are used by default.
            #This is to maintain binary compatibility with previous releases.

            #with defBlock enabled, removed exported symbols are treated as errors
            #and there is binary compatibility between successive builds.
            #with defBlock disabled, binary compatibility is broken every time you build
            MMP_RULES += defBlock

            #with EXPORTUNFROZEN enabled, new exports are included in the dll without
            #needing to run abld freeze, however binary compatibility is only maintained
            #for symbols that are frozen (and only if defBlock is also enabled)
            #the downside of EXPORTUNFROZEN is that the linker gets run twice
            #MMP_RULES += EXPORTUNFROZEN
        }
    }
    load(armcc_warnings)
}
win32-borland:INCLUDEPATH += kernel

aix-g++* {
     QMAKE_CFLAGS   += -mminimal-toc
     QMAKE_CXXFLAGS += -mminimal-toc
}

embedded {
     EMBEDDED_H = $$EMBEDDED_CPP
}

DEPENDPATH += ;$$NETWORK_H;$$KERNEL_H;$$WIDGETS_H;$$SQL_H;$$TABLE_H;$$DIALOGS_H;
DEPENDPATH += $$ICONVIEW_H;$$OPENGL_H;$$THREAD_H;$$TOOLS_H;$$CODECS_H;
DEPENDPATH += $$WORKSPACE_H;$$XML_H;$$STYLES_H;$$COMPAT_H
embedded:DEPENDPATH += ;$$EMBEDDED_H

!static:PRL_EXPORT_DEFINES += QT_SHARED

#install directives
include(qt_install.pri)

unix:!symbian {
   CONFIG     += create_libtool create_pc explicitlib
   QMAKE_LIBTOOL_LIBDIR = $$[QT_INSTALL_LIBS]
   QMAKE_PRL_LIBDIR = $$[QT_INSTALL_LIBS]
   QMAKE_PKGCONFIG_LIBDIR = $$[QT_INSTALL_LIBS]
   QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS]/$$TARGET
   QMAKE_PKGCONFIG_CFLAGS = -I$$[QT_INSTALL_HEADERS]
   QMAKE_PKGCONFIG_DESTDIR = pkgconfig
   include_replace.match = $$QMAKE_INCDIR_QT
   include_replace.replace = $$[QT_INSTALL_HEADERS]
   lib_replace.match = $$QMAKE_LIBDIR_QT
   lib_replace.replace = $$[QT_INSTALL_LIBS]
   prefix_replace.match = $$QT_BUILD_TREE
   prefix_replace.replace = $$[QT_INSTALL_PREFIX]
   QMAKE_PRL_INSTALL_REPLACE += include_replace lib_replace
   QMAKE_LIBTOOL_INSTALL_REPLACE += include_replace lib_replace
   QMAKE_PKGCONFIG_INSTALL_REPLACE += include_replace lib_replace prefix_replace
}

contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE
DEFINES *= QT_NO_CAST_TO_ASCII QT_ASCII_CAST_WARNINGS
contains(QT_CONFIG, qt3support):DEFINES *= QT3_SUPPORT
DEFINES *= QT_MOC_COMPAT #we don't need warnings from calling moc code in our generated code

TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end

moc_dir.name = moc_location
moc_dir.variable = QMAKE_MOC

uic_dir.name = uic_location
uic_dir.variable = QMAKE_UIC

QMAKE_PKGCONFIG_VARIABLES += moc_dir uic_dir

include(qt_targets.pri)

win32:DEFINES+=_USE_MATH_DEFINES

isEmpty(TARGET):error(You must set TARGET before include()'ing $${_FILE_})
INCLUDEPATH *= $$QMAKE_INCDIR_QT/$$TARGET #just for today to have some compat
!isEmpty(RCC_DIR): INCLUDEPATH += $$RCC_DIR
isEmpty(QT_ARCH):!isEmpty(ARCH):QT_ARCH=$$ARCH #another compat that will rot for change #215700
TEMPLATE	= lib
isEmpty(QT_MAJOR_VERSION) {
   VERSION=4.6.0
} else {
   VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
}
mac:!contains(QMAKE_EXT_C, .mm):QMAKE_EXT_C += .mm

#load up the headers info
CONFIG += qt_install_headers
HEADERS_PRI = $$QT_BUILD_TREE/include/$$TARGET/headers.pri
include($$HEADERS_PRI, "", true)|clear(HEADERS_PRI)

#version overriding
win32 {
    #because libnetwork.pro could be qmake'd (qmade?) before libqcore.pro we
    #need to override the version of libq* in all other libq*'s just to be
    #sure the same version is used
	VERSIONS_LIST = $$split(VERSION, ".")
    QT_LIBS_OVERRIDE = $$member(VERSIONS_LIST, 0)
	for(lib, $$list(qtcore qtgui qtnetwork qtxml qtopengl qtsql qt3support)) {
        eval(QMAKE_$${upper($$lib)}_VERSION_OVERRIDE = $$QT_LIBS_OVERRIDE)
	eval(QMAKE_$${upper($$lib)}D_VERSION_OVERRIDE = $$QT_LIBS_OVERRIDE)
    }
}

#other
DESTDIR		 = $$QMAKE_LIBDIR_QT
win32:!wince*:DLLDESTDIR = $$[QT_INSTALL_PREFIX]/bin

CONFIG		+= qt warn_on depend_includepath
CONFIG          += qmake_cache target_qt
CONFIG          -= fix_output_dirs
win32|mac:!macx-xcode:CONFIG += debug_and_release
linux-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF

contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
contains(QT_CONFIG, largefile):CONFIG += largefile

#mac frameworks
mac:!static:contains(QT_CONFIG, qt_framework) {
   #QMAKE_FRAMEWORK_VERSION = 4.0
   CONFIG += lib_bundle qt_no_framework_direct_includes qt_framework
   CONFIG(debug, debug|release) {
      !build_pass:CONFIG += build_all
   } else { #release
      !debug_and_release|build_pass {
	  CONFIG -= qt_install_headers #no need to install these as well
	  FRAMEWORK_HEADERS.version = Versions
	  FRAMEWORK_HEADERS.files = $$SYNCQT.HEADER_FILES $$SYNCQT.HEADER_CLASSES
      	  FRAMEWORK_HEADERS.path = Headers
      	  equals(TARGET, QtCore) {
              #headers generated by configure
              !contains(FRAMEWORK_HEADERS.files, .*/qconfig.h) {
	          FRAMEWORK_HEADERS.files *= $$QT_BUILD_TREE/src/corelib/global/qconfig.h
	      }
          }
      }
      QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
   }
}

mac {
   CONFIG += explicitlib
   macx-g++ {
       QMAKE_CFLAGS += -fconstant-cfstrings
       QMAKE_CXXFLAGS += -fconstant-cfstrings
   }
}

win32:!shared:CONFIG += static

win32-borland {
    mng:QMAKE_CFLAGS_WARN_ON	+= -w-par
    mng:QMAKE_CXXFLAGS_WARN_ON	+= -w-par
    # Keep the size of the .tds file for the Qt library smaller than
    # 34 Mbytes to avoid linking problems
    QMAKE_CFLAGS_DEBUG += -vi -y-
    QMAKE_CXXFLAGS_DEBUG += -vi -y-
}

win32 {
    CONFIG += zlib
    INCLUDEPATH += tmp
    !static: DEFINES+=QT_MAKEDLL
}
symbian {
    shared {
        DEFINES+=QT_MAKEDLL
        TARGET.CAPABILITY = All -Tcb

        defBlock = \
        "$${LITERAL_HASH}ifdef WINSCW" \
        "DEFFILE ../s60installs/bwins/$${TARGET}.def" \
        "$${LITERAL_HASH}elif defined EABI" \
        "DEFFILE ../s60installs/eabi/$${TARGET}.def" \
        "$${LITERAL_HASH}endif"

        #with defBlock enabled, removed exported symbols are treated as errors
        #and there is binary compatibility between successive builds.
        #with defBlock disabled, binary compatibility is broken every time you build
        #MMP_RULES += defBlock

        #with EXPORTUNFROZEN enabled, new exports are included in the dll without
        #needing to run abld freeze, however binary compatibility is only maintained
        #for symbols that are frozen (and only if defBlock is also enabled)
        #the downside of EXPORTUNFROZEN is that the linker gets run twice
        MMP_RULES += EXPORTUNFROZEN
    }
    load(armcc_warnings)
}
win32-borland:INCLUDEPATH += kernel

aix-g++* {
     QMAKE_CFLAGS   += -mminimal-toc
     QMAKE_CXXFLAGS += -mminimal-toc
}

embedded {
     EMBEDDED_H = $$EMBEDDED_CPP
}

DEPENDPATH += ;$$NETWORK_H;$$KERNEL_H;$$WIDGETS_H;$$SQL_H;$$TABLE_H;$$DIALOGS_H;
DEPENDPATH += $$ICONVIEW_H;$$OPENGL_H;$$THREAD_H;$$TOOLS_H;$$CODECS_H;
DEPENDPATH += $$WORKSPACE_H;$$XML_H;$$STYLES_H;$$COMPAT_H
embedded:DEPENDPATH += ;$$EMBEDDED_H

!static:PRL_EXPORT_DEFINES += QT_SHARED

#install directives
include(qt_install.pri)

unix:!symbian {
   CONFIG     += create_libtool create_pc explicitlib
   QMAKE_LIBTOOL_LIBDIR = $$[QT_INSTALL_LIBS]
   QMAKE_PRL_LIBDIR = $$[QT_INSTALL_LIBS]
   QMAKE_PKGCONFIG_LIBDIR = $$[QT_INSTALL_LIBS]
   QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS]/$$TARGET
   QMAKE_PKGCONFIG_CFLAGS = -I$$[QT_INSTALL_HEADERS]
   QMAKE_PKGCONFIG_DESTDIR = pkgconfig
   include_replace.match = $$QMAKE_INCDIR_QT
   include_replace.replace = $$[QT_INSTALL_HEADERS]
   lib_replace.match = $$QMAKE_LIBDIR_QT
   lib_replace.replace = $$[QT_INSTALL_LIBS]
   prefix_replace.match = $$QT_BUILD_TREE
   prefix_replace.replace = $$[QT_INSTALL_PREFIX]
   QMAKE_PRL_INSTALL_REPLACE += include_replace lib_replace
   QMAKE_LIBTOOL_INSTALL_REPLACE += include_replace lib_replace
   QMAKE_PKGCONFIG_INSTALL_REPLACE += include_replace lib_replace prefix_replace
}

contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE
DEFINES *= QT_NO_CAST_TO_ASCII QT_ASCII_CAST_WARNINGS
contains(QT_CONFIG, qt3support):DEFINES *= QT3_SUPPORT
DEFINES *= QT_MOC_COMPAT #we don't need warnings from calling moc code in our generated code

TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end

moc_dir.name = moc_location
moc_dir.variable = QMAKE_MOC

uic_dir.name = uic_location
uic_dir.variable = QMAKE_UIC

QMAKE_PKGCONFIG_VARIABLES += moc_dir uic_dir

include(qt_targets.pri)

win32:DEFINES+=_USE_MATH_DEFINES


only install public headers

only install public headers

headers.files = $$PUBLIC_HEADERS
headers.path = $$QT_MOBILITY_INCLUDE

contains(TEMPLATE,.*lib) {
    target.path=$$QT_MOBILITY_LIB
    TARGET = $$qtLibraryTarget($$TARGET)
} else {
    contains(TEMPLATE,.*app):target.path=$$QT_MOBILITY_BIN
}

INSTALLS+=headers target

mac:contains(QT_CONFIG,qt_framework) {
#CONFIG += lib_bundle absolute_library_soname
    CONFIG += lib_bundle
    FRAMEWORK_HEADERS.version = Versions
    FRAMEWORK_HEADERS.files = $${PUBLIC_HEADERS}
    FRAMEWORK_HEADERS.path = Headers
    QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
}

headers.files = $$PUBLIC_HEADERS
headers.path = $$QT_MOBILITY_INCLUDE

contains(TEMPLATE,.*lib) {
    target.path=$$QT_MOBILITY_LIB
    TARGET = $$qtLibraryTarget($$TARGET)
} else {
    contains(TEMPLATE,.*app):target.path=$$QT_MOBILITY_BIN
}

INSTALLS+=headers target

mac:contains(QT_CONFIG,qt_framework) {
#CONFIG += lib_bundle absolute_library_soname
    CONFIG += lib_bundle
    FRAMEWORK_HEADERS.version = Versions
    FRAMEWORK_HEADERS.files = $${HEADERS}
    FRAMEWORK_HEADERS.path = Headers
    QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
}


build: and back to QLC+ 4 debug

build: and back to QLC+ 4 debug

#############################################################################
# Application name & version
#############################################################################

APPNAME    = Q Light Controller Plus
FXEDNAME   = Fixture Definition Editor
APPVERSION = 4.11.2 GIT

# Disable these if you don't want to see GIT short hash in the About Box
#unix:REVISION = $$system(git log --pretty=format:'%h' -n 1)
#unix:APPVERSION = $$APPVERSION-r$$REVISION

#############################################################################
# Compiler & linker configuration
#############################################################################

# Treat all compiler warnings as errors
QMAKE_CXXFLAGS += -Werror

CONFIG         += warn_on

# Mobile platforms are QML only
android|ios: CONFIG += qmlui

# Build everything in the order specified in .pro files
CONFIG         += ordered

qmlui {
    DEFINES+=QMLUI
}

contains(FORCECONFIG, release) {
  message("Forcing a release build")
  CONFIG += release
  CONFIG -= debug
  #DEFINES += QT_NO_DEBUG_OUTPUT
} else {
  # Enable the following 2 lines when making a release
  CONFIG         -= release
#  DEFINES        += QT_NO_DEBUG_OUTPUT

  # Disable this when making a release
  CONFIG         += debug
}

!macx:!ios: {
 system( g++ --version | grep -e "4.6.[0-9]" ) {
   #message("g++ version 4.6 found")
   QMAKE_CXXFLAGS += -Wno-error=strict-overflow
 }
 else {
   QMAKE_CXXFLAGS += -Wno-unused-local-typedefs # Fix to build with GCC 4.8
 }
}

unix:OLA_GIT    = /usr/src/ola    # OLA directories

#macx:CONFIG   += x86 ppc  # Build universal binaries (Leopard only)
macx:CONFIG    -= app_bundle # Let QLC+ construct the .app bundle
macx:QMAKE_STRIP = strip -x
# Qt 5.5 and above
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 4) {
  macx:QMAKE_LFLAGS += -Wl,-rpath,@executable_path/../Frameworks
}

# Produce build targets to the source directory
win32:DESTDIR  = ./

# Don't whine about some imports
win32:QMAKE_LFLAGS += -Wl,--enable-auto-import

# Enable unit test coverage measurement ('qmake CONFIG+=coverage' works, too)
#CONFIG        += coverage

#############################################################################
# Installation paths
#############################################################################

# Install root
win32:INSTALLROOT       = $$(SystemDrive)/qlcplus
macx:INSTALLROOT        = ~/QLC+.app/Contents
unix:!macx:INSTALLROOT += /usr
android:INSTALLROOT     = /
ios:INSTALLROOT         = /

# Binaries
win32:BINDIR      =
unix:!macx:BINDIR = bin
macx:BINDIR       = MacOS
android:BINDIR    = bin
ios:BINDIR        =

# Libraries
win32:LIBSDIR      =
unix:!macx:LIBSDIR = lib
macx:LIBSDIR       = Frameworks
android:LIBSDIR    = /libs/armeabi-v7a
ios:LIBSDIR        = lib

# Data
win32:DATADIR      =
unix:!macx:DATADIR = share/qlcplus
macx:DATADIR       = Resources
android:DATADIR    = /assets
ios:DATADIR        =
appimage: DATADIR  = ../share/qlcplus

# User Data
win32:USERDATADIR      = QLC+
unix:!macx:USERDATADIR = .qlcplus
macx:USERDATADIR       = "Library/Application Support/QLC+"
android:USERDATADIR    = .qlcplus
ios:USERDATADIR        = .qlcplus

# Documentation
win32:DOCSDIR      = Documents
unix:!macx:DOCSDIR = $$DATADIR/documents
macx:DOCSDIR       = $$DATADIR/Documents
android:DOCSDIR    = $$DATADIR/documents
ios:DOCSDIR        = Documents

# Input profiles
win32:INPUTPROFILEDIR      = InputProfiles
unix:!macx:INPUTPROFILEDIR = $$DATADIR/inputprofiles
macx:INPUTPROFILEDIR       = $$DATADIR/InputProfiles
android:INPUTPROFILEDIR    = $$DATADIR/inputprofiles
ios:INPUTPROFILEDIR        = InputProfiles

# User input profiles
win32:USERINPUTPROFILEDIR      = $$USERDATADIR/InputProfiles
unix:!macx:USERINPUTPROFILEDIR = $$USERDATADIR/inputprofiles
macx:USERINPUTPROFILEDIR       = $$USERDATADIR/InputProfiles
android:USERINPUTPROFILEDIR    = $$USERDATADIR/inputprofiles
ios:USERINPUTPROFILEDIR        = $$USERDATADIR/InputProfiles

# Midi templates
win32:MIDITEMPLATEDIR      = MidiTemplates
unix:!macx:MIDITEMPLATEDIR = $$DATADIR/miditemplates
macx:MIDITEMPLATEDIR       = $$DATADIR/MidiTemplates
android:MIDITEMPLATEDIR    = $$DATADIR/miditemplates
ios:MIDITEMPLATEDIR        = MidiTemplates

# User midi templates
win32:USERMIDITEMPLATEDIR      = $$USERDATADIR/MidiTemplates
unix:!macx:USERMIDITEMPLATEDIR = $$USERDATADIR/miditemplates
macx:USERMIDITEMPLATEDIR       = $$USERDATADIR/MidiTemplates
android:USERMIDITEMPLATEDIR    = $$USERDATADIR/miditemplates
ios:USERMIDITEMPLATEDIR        = $$USERDATADIR/MidiTemplates

# Channel modifiers templates
win32:MODIFIERSTEMPLATEDIR      = ModifiersTemplates
unix:!macx:MODIFIERSTEMPLATEDIR = $$DATADIR/modifierstemplates
macx:MODIFIERSTEMPLATEDIR       = $$DATADIR/ModifiersTemplates
android:MODIFIERSTEMPLATEDIR    = $$DATADIR/modifierstemplates
ios:MODIFIERSTEMPLATEDIR        = ModifiersTemplates

# User midi templates
win32:USERMODIFIERSTEMPLATEDIR      = $$USERDATADIR/ModifiersTemplates
unix:!macx:USERMODIFIERSTEMPLATEDIR = $$USERDATADIR/modifierstemplates
macx:USERMODIFIERSTEMPLATEDIR       = $$USERDATADIR/ModifiersTemplates
android:USERMODIFIERSTEMPLATEDIR    = $$USERDATADIR/modifierstemplates
ios:USERMODIFIERSTEMPLATEDIR        = $$USERDATADIR/ModifiersTemplates

# Fixtures
win32:FIXTUREDIR      = Fixtures
unix:!macx:FIXTUREDIR = $$DATADIR/fixtures
macx:FIXTUREDIR       = $$DATADIR/Fixtures
android:FIXTUREDIR    = $$DATADIR/fixtures
ios:FIXTUREDIR        = Fixtures

# Gobos
win32:GOBODIR      = Gobos
unix:!macx:GOBODIR = $$DATADIR/gobos
macx:GOBODIR       = $$DATADIR/Gobos
android:GOBODIR    = $$DATADIR/gobos
ios:GOBODIR        = Gobos

# User fixtures
win32:USERFIXTUREDIR      = $$USERDATADIR/Fixtures
unix:!macx:USERFIXTUREDIR = $$USERDATADIR/fixtures
macx:USERFIXTUREDIR       = $$USERDATADIR/Fixtures
android:USERFIXTUREDIR    = $$USERDATADIR/fixtures
ios:USERFIXTUREDIR        = $$USERDATADIR/Fixtures

# Plugins
win32:PLUGINDIR      = Plugins
unix:!macx:PLUGINDIR = $$LIBSDIR/qt4/plugins/qlcplus
macx:PLUGINDIR       = PlugIns
android:PLUGINDIR    = Plugins
ios:PLUGINDIR        = Plugins
appimage:PLUGINDIR   = ../lib/qt4/plugins/qlcplus

# Audio Plugins
win32:AUDIOPLUGINDIR      = $$PLUGINDIR/Audio
unix:!macx:AUDIOPLUGINDIR = $$PLUGINDIR/audio
macx:AUDIOPLUGINDIR       = $$PLUGINDIR/Audio
android:AUDIOPLUGINDIR    = $$PLUGINDIR/Audio
ios:AUDIOPLUGINDIR        = $$PLUGINDIR/Audio

# Translations
win32:TRANSLATIONDIR      =
unix:!macx:TRANSLATIONDIR = $$DATADIR/translations
macx:TRANSLATIONDIR       = $$DATADIR/Translations
android:TRANSLATIONDIR    = $$DATADIR/translations
ios:TRANSLATIONDIR        =

# RGB Scripts
win32:RGBSCRIPTDIR      = RGBScripts
unix:!macx:RGBSCRIPTDIR = $$DATADIR/rgbscripts
macx:RGBSCRIPTDIR       = $$DATADIR/RGBScripts
android:RGBSCRIPTDIR    = $$DATADIR/rgbscripts
ios:RGBSCRIPTDIR        = RGBScripts

# User RGB Scripts
win32:USERRGBSCRIPTDIR      = $$USERDATADIR/RGBScripts
unix:!macx:USERRGBSCRIPTDIR = $$USERDATADIR/rgbscripts
macx:USERRGBSCRIPTDIR       = $$USERDATADIR/RGBScripts
android:USERRGBSCRIPTDIR    = $$USERDATADIR/rgbscripts
ios:USERRGBSCRIPTDIR        = $$USERDATADIR/RGBScripts

# RGB Scripts
win32:WEBFILESDIR      = Web
unix:!macx:WEBFILESDIR = $$DATADIR/web
macx:WEBFILESDIR       = $$DATADIR/Web
android:WEBFILESDIR    = $$DATADIR/web
ios:WEBFILESDIR        = Web

# Samples
win32:SAMPLESDIR       = $$INSTALLROOT
unix:!macx:SAMPLESDIR  = $$INSTALLROOT/$$DATADIR
macx:SAMPLESDIR        = $$INSTALLROOT/$$DATADIR
android:SAMPLESDIR     = $$INSTALLROOT/$$DATADIR
ios:SAMPLESDIR         = $$INSTALLROOT/$$DATADIR

# 3D Meshes
win32:MESHESDIR      = Meshes
unix:!macx:MESHESDIR = $$DATADIR/meshes
macx:MESHESDIR       = $$DATADIR/Meshes
android:MESHESDIR    = $$DATADIR/meshes
ios:MESHESDIR        = Meshes

# Color filters
win32:COLORFILTERSDIR      = ColorFilters
unix:!macx:COLORFILTERSDIR = $$DATADIR/colorfilters
macx:COLORFILTERSDIR       = $$DATADIR/ColorFilters
android:COLORFILTERSDIR    = $$DATADIR/colorfilters
ios:COLORFILTERSDIR        = ColorFilters

# User Color filters
win32:USERCOLORFILTERSDIR      = $$USERDATADIR/ColorFilters
unix:!macx:USERCOLORFILTERSDIR = $$USERDATADIR/colorfilters
macx:USERCOLORFILTERSDIR       = $$USERDATADIR/ColorFilters
android:USERCOLORFILTERSDIR    = $$USERDATADIR/colorfilters
ios:USERCOLORFILTERSDIR        = $$USERDATADIR/ColorFilters

# udev rules
unix:!macx:UDEVRULESDIR = /etc/udev/rules.d

# man
unix:!macx:MANDIR = share/man/man1/

unix:!macx: {
  QTPREFIX = $$[QT_INSTALL_PREFIX]
  IN_USR = $$find(QTPREFIX, "/usr")
  count(IN_USR, 1) {
    QTLIBSDIR = $$[QT_INSTALL_LIBS]
    QTPLUGINSDIR = $$[QT_INSTALL_PLUGINS]
    LIBSDIR = $$replace(QTLIBSDIR, "/usr/", "")
    PLUGINDIR = $$replace(QTPLUGINSDIR, "/usr/", "")/qlcplus
    AUDIOPLUGINDIR = $$PLUGINDIR/audio
  }
  #message("Qt install prefix: "$$[QT_INSTALL_PREFIX])
  #message("Qt install libs: "$$[QT_INSTALL_LIBS])
  #message("Linux libs dir: " $$INSTALLROOT/$$LIBSDIR)
  #message("Linux plugins dir: " $$INSTALLROOT/$$PLUGINDIR)
}

#############################################################################
# Application name & version
#############################################################################

APPNAME    = Q Light Controller Plus
FXEDNAME   = Fixture Definition Editor
APPVERSION = 5.0.0 alpha1

# Disable these if you don't want to see GIT short hash in the About Box
#unix:REVISION = $$system(git log --pretty=format:'%h' -n 1)
#unix:APPVERSION = $$APPVERSION-r$$REVISION

#############################################################################
# Compiler & linker configuration
#############################################################################

# Treat all compiler warnings as errors
QMAKE_CXXFLAGS += -Werror

CONFIG         += warn_on

# Mobile platforms are QML only
android|ios: CONFIG += qmlui

# Build everything in the order specified in .pro files
CONFIG         += ordered

qmlui {
    DEFINES+=QMLUI
}

contains(FORCECONFIG, release) {
  message("Forcing a release build")
  CONFIG += release
  CONFIG -= debug
  #DEFINES += QT_NO_DEBUG_OUTPUT
} else {
  # Enable the following 2 lines when making a release
  CONFIG         += release
#  DEFINES        += QT_NO_DEBUG_OUTPUT

  # Disable this when making a release
  CONFIG         -= debug
}

!macx:!ios: {
 system( g++ --version | grep -e "4.6.[0-9]" ) {
   #message("g++ version 4.6 found")
   QMAKE_CXXFLAGS += -Wno-error=strict-overflow
 }
 else {
   QMAKE_CXXFLAGS += -Wno-unused-local-typedefs # Fix to build with GCC 4.8
 }
}

unix:OLA_GIT    = /usr/src/ola    # OLA directories

#macx:CONFIG   += x86 ppc  # Build universal binaries (Leopard only)
macx:CONFIG    -= app_bundle # Let QLC+ construct the .app bundle
macx:QMAKE_STRIP = strip -x
# Qt 5.5 and above
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 4) {
  macx:QMAKE_LFLAGS += -Wl,-rpath,@executable_path/../Frameworks
}

# Produce build targets to the source directory
win32:DESTDIR  = ./

# Don't whine about some imports
win32:QMAKE_LFLAGS += -Wl,--enable-auto-import

# Enable unit test coverage measurement ('qmake CONFIG+=coverage' works, too)
#CONFIG        += coverage

#############################################################################
# Installation paths
#############################################################################

# Install root
win32:INSTALLROOT       = $$(SystemDrive)/qlcplus
macx:INSTALLROOT        = ~/QLC+.app/Contents
unix:!macx:INSTALLROOT += /usr
android:INSTALLROOT     = /
ios:INSTALLROOT         = /

# Binaries
win32:BINDIR      =
unix:!macx:BINDIR = bin
macx:BINDIR       = MacOS
android:BINDIR    = bin
ios:BINDIR        =

# Libraries
win32:LIBSDIR      =
unix:!macx:LIBSDIR = lib
macx:LIBSDIR       = Frameworks
android:LIBSDIR    = /libs/armeabi-v7a
ios:LIBSDIR        = lib

# Data
win32:DATADIR      =
unix:!macx:DATADIR = share/qlcplus
macx:DATADIR       = Resources
android:DATADIR    = /assets
ios:DATADIR        =
appimage: DATADIR  = ../share/qlcplus

# User Data
win32:USERDATADIR      = QLC+
unix:!macx:USERDATADIR = .qlcplus
macx:USERDATADIR       = "Library/Application Support/QLC+"
android:USERDATADIR    = .qlcplus
ios:USERDATADIR        = .qlcplus

# Documentation
win32:DOCSDIR      = Documents
unix:!macx:DOCSDIR = $$DATADIR/documents
macx:DOCSDIR       = $$DATADIR/Documents
android:DOCSDIR    = $$DATADIR/documents
ios:DOCSDIR        = Documents

# Input profiles
win32:INPUTPROFILEDIR      = InputProfiles
unix:!macx:INPUTPROFILEDIR = $$DATADIR/inputprofiles
macx:INPUTPROFILEDIR       = $$DATADIR/InputProfiles
android:INPUTPROFILEDIR    = $$DATADIR/inputprofiles
ios:INPUTPROFILEDIR        = InputProfiles

# User input profiles
win32:USERINPUTPROFILEDIR      = $$USERDATADIR/InputProfiles
unix:!macx:USERINPUTPROFILEDIR = $$USERDATADIR/inputprofiles
macx:USERINPUTPROFILEDIR       = $$USERDATADIR/InputProfiles
android:USERINPUTPROFILEDIR    = $$USERDATADIR/inputprofiles
ios:USERINPUTPROFILEDIR        = $$USERDATADIR/InputProfiles

# Midi templates
win32:MIDITEMPLATEDIR      = MidiTemplates
unix:!macx:MIDITEMPLATEDIR = $$DATADIR/miditemplates
macx:MIDITEMPLATEDIR       = $$DATADIR/MidiTemplates
android:MIDITEMPLATEDIR    = $$DATADIR/miditemplates
ios:MIDITEMPLATEDIR        = MidiTemplates

# User midi templates
win32:USERMIDITEMPLATEDIR      = $$USERDATADIR/MidiTemplates
unix:!macx:USERMIDITEMPLATEDIR = $$USERDATADIR/miditemplates
macx:USERMIDITEMPLATEDIR       = $$USERDATADIR/MidiTemplates
android:USERMIDITEMPLATEDIR    = $$USERDATADIR/miditemplates
ios:USERMIDITEMPLATEDIR        = $$USERDATADIR/MidiTemplates

# Channel modifiers templates
win32:MODIFIERSTEMPLATEDIR      = ModifiersTemplates
unix:!macx:MODIFIERSTEMPLATEDIR = $$DATADIR/modifierstemplates
macx:MODIFIERSTEMPLATEDIR       = $$DATADIR/ModifiersTemplates
android:MODIFIERSTEMPLATEDIR    = $$DATADIR/modifierstemplates
ios:MODIFIERSTEMPLATEDIR        = ModifiersTemplates

# User midi templates
win32:USERMODIFIERSTEMPLATEDIR      = $$USERDATADIR/ModifiersTemplates
unix:!macx:USERMODIFIERSTEMPLATEDIR = $$USERDATADIR/modifierstemplates
macx:USERMODIFIERSTEMPLATEDIR       = $$USERDATADIR/ModifiersTemplates
android:USERMODIFIERSTEMPLATEDIR    = $$USERDATADIR/modifierstemplates
ios:USERMODIFIERSTEMPLATEDIR        = $$USERDATADIR/ModifiersTemplates

# Fixtures
win32:FIXTUREDIR      = Fixtures
unix:!macx:FIXTUREDIR = $$DATADIR/fixtures
macx:FIXTUREDIR       = $$DATADIR/Fixtures
android:FIXTUREDIR    = $$DATADIR/fixtures
ios:FIXTUREDIR        = Fixtures

# Gobos
win32:GOBODIR      = Gobos
unix:!macx:GOBODIR = $$DATADIR/gobos
macx:GOBODIR       = $$DATADIR/Gobos
android:GOBODIR    = $$DATADIR/gobos
ios:GOBODIR        = Gobos

# User fixtures
win32:USERFIXTUREDIR      = $$USERDATADIR/Fixtures
unix:!macx:USERFIXTUREDIR = $$USERDATADIR/fixtures
macx:USERFIXTUREDIR       = $$USERDATADIR/Fixtures
android:USERFIXTUREDIR    = $$USERDATADIR/fixtures
ios:USERFIXTUREDIR        = $$USERDATADIR/Fixtures

# Plugins
win32:PLUGINDIR      = Plugins
unix:!macx:PLUGINDIR = $$LIBSDIR/qt4/plugins/qlcplus
macx:PLUGINDIR       = PlugIns
android:PLUGINDIR    = Plugins
ios:PLUGINDIR        = Plugins
appimage:PLUGINDIR   = ../lib/qt4/plugins/qlcplus

# Audio Plugins
win32:AUDIOPLUGINDIR      = $$PLUGINDIR/Audio
unix:!macx:AUDIOPLUGINDIR = $$PLUGINDIR/audio
macx:AUDIOPLUGINDIR       = $$PLUGINDIR/Audio
android:AUDIOPLUGINDIR    = $$PLUGINDIR/Audio
ios:AUDIOPLUGINDIR        = $$PLUGINDIR/Audio

# Translations
win32:TRANSLATIONDIR      =
unix:!macx:TRANSLATIONDIR = $$DATADIR/translations
macx:TRANSLATIONDIR       = $$DATADIR/Translations
android:TRANSLATIONDIR    = $$DATADIR/translations
ios:TRANSLATIONDIR        =

# RGB Scripts
win32:RGBSCRIPTDIR      = RGBScripts
unix:!macx:RGBSCRIPTDIR = $$DATADIR/rgbscripts
macx:RGBSCRIPTDIR       = $$DATADIR/RGBScripts
android:RGBSCRIPTDIR    = $$DATADIR/rgbscripts
ios:RGBSCRIPTDIR        = RGBScripts

# User RGB Scripts
win32:USERRGBSCRIPTDIR      = $$USERDATADIR/RGBScripts
unix:!macx:USERRGBSCRIPTDIR = $$USERDATADIR/rgbscripts
macx:USERRGBSCRIPTDIR       = $$USERDATADIR/RGBScripts
android:USERRGBSCRIPTDIR    = $$USERDATADIR/rgbscripts
ios:USERRGBSCRIPTDIR        = $$USERDATADIR/RGBScripts

# RGB Scripts
win32:WEBFILESDIR      = Web
unix:!macx:WEBFILESDIR = $$DATADIR/web
macx:WEBFILESDIR       = $$DATADIR/Web
android:WEBFILESDIR    = $$DATADIR/web
ios:WEBFILESDIR        = Web

# Samples
win32:SAMPLESDIR       = $$INSTALLROOT
unix:!macx:SAMPLESDIR  = $$INSTALLROOT/$$DATADIR
macx:SAMPLESDIR        = $$INSTALLROOT/$$DATADIR
android:SAMPLESDIR     = $$INSTALLROOT/$$DATADIR
ios:SAMPLESDIR         = $$INSTALLROOT/$$DATADIR

# 3D Meshes
win32:MESHESDIR      = Meshes
unix:!macx:MESHESDIR = $$DATADIR/meshes
macx:MESHESDIR       = $$DATADIR/Meshes
android:MESHESDIR    = $$DATADIR/meshes
ios:MESHESDIR        = Meshes

# Color filters
win32:COLORFILTERSDIR      = ColorFilters
unix:!macx:COLORFILTERSDIR = $$DATADIR/colorfilters
macx:COLORFILTERSDIR       = $$DATADIR/ColorFilters
android:COLORFILTERSDIR    = $$DATADIR/colorfilters
ios:COLORFILTERSDIR        = ColorFilters

# User Color filters
win32:USERCOLORFILTERSDIR      = $$USERDATADIR/ColorFilters
unix:!macx:USERCOLORFILTERSDIR = $$USERDATADIR/colorfilters
macx:USERCOLORFILTERSDIR       = $$USERDATADIR/ColorFilters
android:USERCOLORFILTERSDIR    = $$USERDATADIR/colorfilters
ios:USERCOLORFILTERSDIR        = $$USERDATADIR/ColorFilters

# udev rules
unix:!macx:UDEVRULESDIR = /etc/udev/rules.d

# man
unix:!macx:MANDIR = share/man/man1/

unix:!macx: {
  QTPREFIX = $$[QT_INSTALL_PREFIX]
  IN_USR = $$find(QTPREFIX, "/usr")
  count(IN_USR, 1) {
    QTLIBSDIR = $$[QT_INSTALL_LIBS]
    QTPLUGINSDIR = $$[QT_INSTALL_PLUGINS]
    LIBSDIR = $$replace(QTLIBSDIR, "/usr/", "")
    PLUGINDIR = $$replace(QTPLUGINSDIR, "/usr/", "")/qlcplus
    AUDIOPLUGINDIR = $$PLUGINDIR/audio
  }
  #message("Qt install prefix: "$$[QT_INSTALL_PREFIX])
  #message("Qt install libs: "$$[QT_INSTALL_LIBS])
  #message("Linux libs dir: " $$INSTALLROOT/$$LIBSDIR)
  #message("Linux plugins dir: " $$INSTALLROOT/$$PLUGINDIR)
}


d debug suffix fixed in qwtfunctions.pri

################################################################
# Qwt Widget Library
# Copyright (C) 1997   Josef Wilgen
# Copyright (C) 2002   Uwe Rathmann
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the Qwt License, Version 1.0
################################################################

# Copied and modified from qt_functions.prf

defineReplace(qwtLibraryTarget) {

    unset(LIBRARY_NAME)
    LIBRARY_NAME = $$1

    mac:contains(QWT_CONFIG, QwtFramework) {

        QMAKE_FRAMEWORK_BUNDLE_NAME = $$LIBRARY_NAME
        export(QMAKE_FRAMEWORK_BUNDLE_NAME)
    }

    contains(TEMPLATE, .*lib):CONFIG(debug, debug|release) {

        !debug_and_release|build_pass {

            mac:RET = $$member(LIBRARY_NAME, 0)_debug
            win32:RET = $$member(LIBRARY_NAME, 0)d
        }
    }

    isEmpty(RET):RET = $$LIBRARY_NAME
    return($$RET)
}

defineTest(qwtAddLibrary) {

    LIB_NAME = $$1

    unset(LINKAGE)

    mac:contains(QWT_CONFIG, QwtFramework) {

        LINKAGE = -framework $${LIB_NAME}$${QT_LIBINFIX}
    }

    isEmpty(LINKAGE) {

        if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {

            mac:LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}_debug
            win32:LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}d
        }
    }

    isEmpty(LINKAGE) {

        LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}
    }

    !isEmpty(QMAKE_LSB) {

        QMAKE_LFLAGS *= --lsb-shared-libs=$${LIB_NAME}$${QT_LIBINFIX}
    }

    LIBS += $$LINKAGE
    export(LIBS)
    export(QMAKE_LFLAGS)

    return(true)
}

################################################################
# Qwt Widget Library
# Copyright (C) 1997   Josef Wilgen
# Copyright (C) 2002   Uwe Rathmann
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the Qwt License, Version 1.0
################################################################

# Copied and modified from qt_functions.prf

defineReplace(qwtLibraryTarget) {

    unset(LIBRARY_NAME)
    LIBRARY_NAME = $$1

    mac:contains(QWT_CONFIG, QwtFramework) {

        QMAKE_FRAMEWORK_BUNDLE_NAME = $$LIBRARY_NAME
        export(QMAKE_FRAMEWORK_BUNDLE_NAME)
    }

    contains(TEMPLATE, .*lib):CONFIG(debug, debug|release) {

        !debug_and_release|build_pass {
            unix:RET = $$member(LIBRARY_NAME, 0)_debug
            mac:RET = $$member(LIBRARY_NAME, 0)_debug
            win32:RET = $$member(LIBRARY_NAME, 0)d
        }
    }

    isEmpty(RET):RET = $$LIBRARY_NAME
    return($$RET)
}

defineTest(qwtAddLibrary) {

    LIB_NAME = $$1

    unset(LINKAGE)

    mac:contains(QWT_CONFIG, QwtFramework) {

        LINKAGE = -framework $${LIB_NAME}$${QT_LIBINFIX}
    }

    isEmpty(LINKAGE) {

        if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {

            unix:LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}_debug
            mac:LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}_debug
            win32:LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}d
        }
    }

    isEmpty(LINKAGE) {

        LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}
    }

    !isEmpty(QMAKE_LSB) {

        QMAKE_LFLAGS *= --lsb-shared-libs=$${LIB_NAME}$${QT_LIBINFIX}
    }

    LIBS += $$LINKAGE
    export(LIBS)
    export(QMAKE_LFLAGS)

    return(true)
}


Use regular target suffix (_d for debug and none for release)

include(compiler_config.pri)
CONFIG(debug, debug|release) {
  TARGET_SUFFIX = _d
} else {
  TARGET_SUFFIX =
}
CONFIG *= build_all debug_and_release

include(compiler_config.pri)
CONFIG(debug, debug|release) {
  TARGET_SUFFIX = .debug
} else {
  TARGET_SUFFIX = .release
}
CONFIG *= build_all debug_and_release


(split) Borrowed corrections for MacOSX multi-arch.

Credit-To: Peter Droste <75f2d478c0bae65e2466432723ecc64707a7f3a9@fz-juelich.de>  (https://gitorious.org/~pedro79)
git://gitorious.org/~pedro79/qt-jambi/qtjambi-4_7_for_omix.git

isEmpty(GENERATORPATH):GENERATORPATH = $$PWD
INCLUDEPATH += $$GENERATORPATH

TEMPLATE = app
TARGET +=
DEPENDPATH += $$GENERATORPATH tests parser
mac:CONFIG -= app_bundle
INCLUDEPATH += $$GENERATORPATH/.
INCLUDEPATH += $$GENERATORPATH/../common

unix:CONFIG += debug_and_release

CONFIG += console
RESOURCES += generator.qrc

include($$GENERATORPATH/parser/rxx.pri)

include($$GENERATORPATH/parser/rpp/rpp.pri)

# These option changes are recommended since at least: win32-msvc.net
#          We have checked they are still needed with: win32-msvc2010
win32-msvc* {
        QMAKE_CXXFLAGS += -wd4996
        QMAKE_CFLAGS += -wd4996
}

# Input
HEADERS += \
        $$GENERATORPATH/generator.h \
        $$GENERATORPATH/main.h \
        $$GENERATORPATH/reporthandler.h \
        $$GENERATORPATH/typeparser.h \
        $$GENERATORPATH/typesystem/typesystem.h \
        $$GENERATORPATH/typesystem/codesnip.h \
        $$GENERATORPATH/typesystem/handler.h \
        $$GENERATORPATH/typesystem/modification.h \
        $$GENERATORPATH/typesystem/stackelement.h \
        $$GENERATORPATH/typesystem/typedatabase.h \
        $$GENERATORPATH/typesystem/typeentry.h \
        $$GENERATORPATH/asttoxml.h \
        $$GENERATORPATH/fileout.h \
        $$GENERATORPATH/generatorset.h \
        $$GENERATORPATH/metajava.h \
        $$GENERATORPATH/customtypes.h \
        $$GENERATORPATH/abstractmetabuilder.h \
        $$GENERATORPATH/abstractmetalang.h \
        $$GENERATORPATH/prigenerator.h \

SOURCES += \
        $$GENERATORPATH/generator.cpp \
        $$GENERATORPATH/main.cpp \
        $$GENERATORPATH/wrapper.cpp \
        $$GENERATORPATH/preprocesshandler.cpp \
        $$GENERATORPATH/reporthandler.cpp \
        $$GENERATORPATH/typeparser.cpp \
        $$GENERATORPATH/typesystem/codesnip.cpp \
        $$GENERATORPATH/typesystem/handler.cpp \
        $$GENERATORPATH/typesystem/modification.cpp \
        #$$GENERATORPATH/typesystem/stackelement.cpp \
        $$GENERATORPATH/typesystem/typedatabase.cpp \
        $$GENERATORPATH/typesystem/typeentry.cpp \
        $$GENERATORPATH/typesystem/typesystem.cpp \
        #$$GENERATORPATH/typesystem/
        $$GENERATORPATH/asttoxml.cpp \
        $$GENERATORPATH/fileout.cpp \
        $$GENERATORPATH/generatorset.cpp \
        $$GENERATORPATH/metajava.cpp \
        $$GENERATORPATH/customtypes.cpp \
        $$GENERATORPATH/abstractmetabuilder.cpp \
        $$GENERATORPATH/abstractmetalang.cpp \
        $$GENERATORPATH/prigenerator.cpp \

QT = core xml

win32{
        PRECOMPILED_HEADER = generator_pch.h
        CONFIG += precompile_header
}

# These option changes are recommended since at least: win32-msvc.net
win32-msvc* {
        QMAKE_CXXFLAGS += -Zm500
        QMAKE_CXXFLAGS -= -Zm200
        QMAKE_CFLAGS -= -Zm200
}

mac {
    contains(QT_CONFIG, x86):CONFIG += x86
    contains(QT_CONFIG, ppc):CONFIG += ppc
    contains(QT_CONFIG, x86_64):CONFIG += x86_64
    contains(QT_CONFIG, ppc64):CONFIG += ppc64
    CONFIG -= precompile_header
}

isEmpty(GENERATORPATH):GENERATORPATH = $$PWD
INCLUDEPATH += $$GENERATORPATH

TEMPLATE = app
TARGET +=
DEPENDPATH += $$GENERATORPATH tests parser
mac:CONFIG -= app_bundle
INCLUDEPATH += $$GENERATORPATH/.
INCLUDEPATH += $$GENERATORPATH/../common

unix:CONFIG += debug_and_release

CONFIG += console
RESOURCES += generator.qrc

include($$GENERATORPATH/parser/rxx.pri)

include($$GENERATORPATH/parser/rpp/rpp.pri)

# These option changes are recommended since at least: win32-msvc.net
#          We have checked they are still needed with: win32-msvc2010
win32-msvc* {
        QMAKE_CXXFLAGS += -wd4996
        QMAKE_CFLAGS += -wd4996
}

# Input
HEADERS += \
        $$GENERATORPATH/generator.h \
        $$GENERATORPATH/main.h \
        $$GENERATORPATH/reporthandler.h \
        $$GENERATORPATH/typeparser.h \
        $$GENERATORPATH/typesystem/typesystem.h \
        $$GENERATORPATH/typesystem/codesnip.h \
        $$GENERATORPATH/typesystem/handler.h \
        $$GENERATORPATH/typesystem/modification.h \
        $$GENERATORPATH/typesystem/stackelement.h \
        $$GENERATORPATH/typesystem/typedatabase.h \
        $$GENERATORPATH/typesystem/typeentry.h \
        $$GENERATORPATH/asttoxml.h \
        $$GENERATORPATH/fileout.h \
        $$GENERATORPATH/generatorset.h \
        $$GENERATORPATH/metajava.h \
        $$GENERATORPATH/customtypes.h \
        $$GENERATORPATH/abstractmetabuilder.h \
        $$GENERATORPATH/abstractmetalang.h \
        $$GENERATORPATH/prigenerator.h \

SOURCES += \
        $$GENERATORPATH/generator.cpp \
        $$GENERATORPATH/main.cpp \
        $$GENERATORPATH/wrapper.cpp \
        $$GENERATORPATH/preprocesshandler.cpp \
        $$GENERATORPATH/reporthandler.cpp \
        $$GENERATORPATH/typeparser.cpp \
        $$GENERATORPATH/typesystem/codesnip.cpp \
        $$GENERATORPATH/typesystem/handler.cpp \
        $$GENERATORPATH/typesystem/modification.cpp \
        #$$GENERATORPATH/typesystem/stackelement.cpp \
        $$GENERATORPATH/typesystem/typedatabase.cpp \
        $$GENERATORPATH/typesystem/typeentry.cpp \
        $$GENERATORPATH/typesystem/typesystem.cpp \
        #$$GENERATORPATH/typesystem/
        $$GENERATORPATH/asttoxml.cpp \
        $$GENERATORPATH/fileout.cpp \
        $$GENERATORPATH/generatorset.cpp \
        $$GENERATORPATH/metajava.cpp \
        $$GENERATORPATH/customtypes.cpp \
        $$GENERATORPATH/abstractmetabuilder.cpp \
        $$GENERATORPATH/abstractmetalang.cpp \
        $$GENERATORPATH/prigenerator.cpp \

QT = core xml

win32{
        PRECOMPILED_HEADER = generator_pch.h
        CONFIG += precompile_header
}

# These option changes are recommended since at least: win32-msvc.net
win32-msvc* {
        QMAKE_CXXFLAGS += -Zm500
        QMAKE_CXXFLAGS -= -Zm200
        QMAKE_CFLAGS -= -Zm200
}

mac {
    contains(QT_CONFIG, x86):contains(QT_CONFIG, ppc):CONFIG += x86 ppc
    CONFIG -= precompile_header
}