| 1 |
QT += core widgets network xml sql |
| 2 |
|
| 3 |
macx { |
| 4 |
TARGET = CEN64-Qt |
| 5 |
} else { |
| 6 |
TARGET = cen64-qt |
| 7 |
} |
| 8 |
|
| 9 |
TEMPLATE = app |
| 10 |
macx:ICON = dist/macosx/cen64.icns |
| 11 |
win32:RC_FILE = dist/windows/icon.rc |
| 12 |
|
| 13 |
|
| 14 |
SOURCES += src/main.cpp \ |
| 15 |
src/common.cpp \ |
| 16 |
src/mainwindow.cpp \ |
| 17 |
src/dialogs/aboutdialog.cpp \ |
| 18 |
src/dialogs/downloaddialog.cpp \ |
| 19 |
src/dialogs/logdialog.cpp \ |
| 20 |
src/dialogs/settingsdialog.cpp \ |
| 21 |
src/dialogs/v64converter.cpp \ |
| 22 |
src/emulation/emulatorhandler.cpp \ |
| 23 |
src/roms/romcollection.cpp \ |
| 24 |
src/roms/thegamesdbscraper.cpp \ |
| 25 |
src/views/gridview.cpp \ |
| 26 |
src/views/listview.cpp \ |
| 27 |
src/views/tableview.cpp \ |
| 28 |
src/views/ddview.cpp \ |
| 29 |
src/views/widgets/clickablewidget.cpp \ |
| 30 |
src/views/widgets/treewidgetitem.cpp |
| 31 |
|
| 32 |
HEADERS += src/global.h \ |
| 33 |
src/common.h \ |
| 34 |
src/mainwindow.h \ |
| 35 |
src/dialogs/aboutdialog.h \ |
| 36 |
src/dialogs/downloaddialog.h \ |
| 37 |
src/dialogs/logdialog.h \ |
| 38 |
src/dialogs/settingsdialog.h \ |
| 39 |
src/dialogs/v64converter.h \ |
| 40 |
src/emulation/emulatorhandler.h \ |
| 41 |
src/roms/romcollection.h \ |
| 42 |
src/roms/thegamesdbscraper.h \ |
| 43 |
src/views/gridview.h \ |
| 44 |
src/views/listview.h \ |
| 45 |
src/views/tableview.h \ |
| 46 |
src/views/ddview.h \ |
| 47 |
src/views/widgets/clickablewidget.h \ |
| 48 |
src/views/widgets/treewidgetitem.h |
| 49 |
|
| 50 |
RESOURCES += resources/cen64qt.qrc |
| 51 |
|
| 52 |
FORMS += src/dialogs/settingsdialog.ui |
| 53 |
|
| 54 |
TRANSLATIONS += resources/locale/cen64-qt_fr.ts \ |
| 55 |
resources/locale/cen64-qt_ru.ts |
| 56 |
|
| 57 |
win32|macx|linux_quazip_static { |
| 58 |
QT += core5compat |
| 59 |
CONFIG += staticlib |
| 60 |
DEFINES += QUAZIP_STATIC |
| 61 |
LIBS += -lz |
| 62 |
|
| 63 |
#Download quazip source and copy the quazip directory to project as quazip5 |
| 64 |
SOURCES += quazip/*.cpp |
| 65 |
SOURCES += quazip/*.c |
| 66 |
HEADERS += quazip/*.h |
| 67 |
} else { |
| 68 |
LIBS += -lquazip1-qt6 |
| 69 |
} |