From 2de090c8c6a6788c64a60a4f9893158dadc17f01 Mon Sep 17 00:00:00 2001 From: DanielMowitz <53856770+DanielMowitz@users.noreply.github.com> Date: Sat, 5 Oct 2019 16:00:58 +0200 Subject: [PATCH] Update afutrainer.pro Now it compiles on linux with QT5. --- afutrainer.pro | 105 +++++++++++++++++++++++++------------------------ 1 file changed, 54 insertions(+), 51 deletions(-) diff --git a/afutrainer.pro b/afutrainer.pro index 2c184d3..aee18c8 100644 --- a/afutrainer.pro +++ b/afutrainer.pro @@ -1,61 +1,64 @@ win32 { - TEMPLATE = vcapp + TEMPLATE = vcapp } else { - TEMPLATE = app + TEMPLATE = app } TARGET = afutrainer -QT += qt gui xml +QT += gui xml +QT += widgets +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x000000 +QMAKE_LFLAGS += -lz HEADERS = mainwindow.h \ - catalogmodel.h \ - questionmodel.h \ - dlglearn.h \ - dlgviewquestion.h \ - question.h \ - chapter.h \ - catalog.h \ - dlglearnassistant.h \ - answer.h \ - helper.h \ - chaptermodel.h \ - osziparchive.h \ - dlginformation.h \ - exam.h \ - dlgexam.h \ - dlgexamselect.h \ - error.h \ - tools.h \ - dlglearnstatistic.h \ - dlgexamstatistic.h \ - plotwidget.h \ - recentfiles.h - + catalogmodel.h \ + questionmodel.h \ + dlglearn.h \ + dlgviewquestion.h \ + question.h \ + chapter.h \ + catalog.h \ + dlglearnassistant.h \ + answer.h \ + helper.h \ + chaptermodel.h \ + osziparchive.h \ + dlginformation.h \ + exam.h \ + dlgexam.h \ + dlgexamselect.h \ + error.h \ + tools.h \ + dlglearnstatistic.h \ + dlgexamstatistic.h \ + plotwidget.h \ + recentfiles.h + SOURCES = main.cpp \ - mainwindow.cpp \ - catalogmodel.cpp \ - questionmodel.cpp \ - dlglearn.cpp \ - dlgviewquestion.cpp \ - question.cpp \ - chapter.cpp \ - catalog.cpp \ - dlglearnassistant.cpp \ - answer.cpp \ - helper.cpp \ - chaptermodel.cpp \ - osziparchive.cpp \ - dlginformation.cpp \ - exam.cpp \ - dlgexam.cpp \ - dlgexamselect.cpp \ - error.cpp \ - tools.cpp \ - dlglearnstatistic.cpp \ - dlgexamstatistic.cpp \ - plotwidget.cpp \ - recentfiles.cpp - + mainwindow.cpp \ + catalogmodel.cpp \ + questionmodel.cpp \ + dlglearn.cpp \ + dlgviewquestion.cpp \ + question.cpp \ + chapter.cpp \ + catalog.cpp \ + dlglearnassistant.cpp \ + answer.cpp \ + helper.cpp \ + chaptermodel.cpp \ + osziparchive.cpp \ + dlginformation.cpp \ + exam.cpp \ + dlgexam.cpp \ + dlgexamselect.cpp \ + error.cpp \ + tools.cpp \ + dlglearnstatistic.cpp \ + dlgexamstatistic.cpp \ + plotwidget.cpp \ + recentfiles.cpp + FORMS = mainwindow.ui dlglearn.ui dlgviewquestion.ui dlglearnassistant.ui dlginformation.ui dlgexamselect.ui dlgexam.ui dlglearnstatistic.ui dlgexamstatistic.ui RC_FILE = afutrainer.rc -RESOURCES += afutrainer.qrc +RESOURCES += afutrainer.qrc