2024-01-26 04:53:51 +00:00
|
|
|
QT += core quick widgets sql dbus qml
|
2023-01-12 16:17:00 +00:00
|
|
|
|
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
2025-11-05 09:25:26 +00:00
|
|
|
#QMAKE_CXX = clang++
|
|
|
|
|
#QMAKE_LINK = clang++
|
|
|
|
|
QMAKE_LDFLAGS += -fPIE -g
|
|
|
|
|
#QMAKE_CXXFLAGS_WARN_ON += -Wshadow
|
|
|
|
|
|
|
|
|
|
LIBS += -larchive
|
|
|
|
|
|
2025-11-10 21:15:26 +00:00
|
|
|
#CONFIG+=sanitizer sanitize_address sanitize_undefined
|
|
|
|
|
|
2025-11-05 09:25:26 +00:00
|
|
|
debug {
|
|
|
|
|
#CONFIG+=sanitizer sanitize_address sanitize_undefined
|
|
|
|
|
#CONFIG+=sanitize_thread sanitize_memory
|
|
|
|
|
}
|
2025-01-20 17:03:07 +00:00
|
|
|
|
2023-01-12 16:17:00 +00:00
|
|
|
SOURCES += \
|
|
|
|
|
src/file.cpp \
|
|
|
|
|
src/http.cpp \
|
|
|
|
|
src/main.cpp \
|
|
|
|
|
src/fomodreader.cpp \
|
2023-01-22 21:46:23 +00:00
|
|
|
src/modreader.cpp \
|
2023-01-12 16:17:00 +00:00
|
|
|
src/nxmhandler.cpp \
|
2025-08-20 14:57:00 +00:00
|
|
|
src/process.cpp \
|
2023-01-12 16:17:00 +00:00
|
|
|
src/utils.cpp \
|
|
|
|
|
src/sqldatabase.cpp \
|
2025-11-05 09:25:26 +00:00
|
|
|
src/sqldatabasemodel.cpp \
|
|
|
|
|
src/vfstablemodel.cpp
|
2023-01-12 16:17:00 +00:00
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
|
src/file.h \
|
|
|
|
|
src/fomodreader.h \
|
|
|
|
|
src/http.h \
|
2023-01-22 21:46:23 +00:00
|
|
|
src/modreader.h \
|
2023-01-12 16:17:00 +00:00
|
|
|
src/nxmhandler.h \
|
2025-08-20 14:57:00 +00:00
|
|
|
src/process.h \
|
2023-01-12 16:17:00 +00:00
|
|
|
src/utils.h \
|
|
|
|
|
src/sqldatabase.h \
|
2025-11-05 09:25:26 +00:00
|
|
|
src/sqldatabasemodel.h \
|
|
|
|
|
src/vfstablemodel.h
|
2023-01-12 16:17:00 +00:00
|
|
|
|
|
|
|
|
RESOURCES += qml.qrc
|
|
|
|
|
|
2025-11-05 09:25:26 +00:00
|
|
|
# LIBS += -larchive
|
2023-01-12 16:17:00 +00:00
|
|
|
|
2025-08-20 14:57:00 +00:00
|
|
|
# /**
|
|
|
|
|
# * For FUSE-based mod archive VFS:
|
|
|
|
|
# **/
|
|
|
|
|
DEFINES += WITH_FUSE
|
|
|
|
|
CONFIG += c++17 cmdline link_pkgconfig
|
|
|
|
|
|
|
|
|
|
PKGCONFIG += fuse3 libunarr
|
2025-11-05 09:25:26 +00:00
|
|
|
#QMAKE_CXXFLAGS += -D_FILE_OFFSET_BITS=64 -O3
|
|
|
|
|
QMAKE_CXXFLAGS += -D_FILE_OFFSET_BITS=64 -g -O0
|
2025-11-10 21:15:26 +00:00
|
|
|
QMAKE_CXXFLAGS_RELEASE -= -O2
|
|
|
|
|
QMAKE_CXXFLAGS_DEBUG -= -O2
|
2025-08-20 14:57:00 +00:00
|
|
|
|
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
|
src/fusemanager.cpp \
|
2025-11-05 09:25:26 +00:00
|
|
|
FuseMounter/fusebase.cpp \
|
|
|
|
|
FuseMounter/fuseinterface.cpp \
|
|
|
|
|
FuseMounter/fusearchive.cpp \
|
|
|
|
|
FuseMounter/fuseproxy.cpp \
|
|
|
|
|
FuseMounter/fusesandbox.cpp
|
|
|
|
|
#FuseMounter/archivemanager.cpp \
|
|
|
|
|
#FuseMounter/database.cpp \
|
|
|
|
|
#FuseMounter/fsproxy.cpp \
|
|
|
|
|
#FuseMounter/fusestuff.cpp \
|
|
|
|
|
#FuseMounter/modarchive.cpp
|
2025-08-20 14:57:00 +00:00
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
|
src/fusemanager.h \
|
2025-11-05 09:25:26 +00:00
|
|
|
FuseMounter/fusebase.h \
|
|
|
|
|
FuseMounter/fuseinterface.h \
|
|
|
|
|
FuseMounter/fusearchive.h \
|
|
|
|
|
FuseMounter/fuseproxy.h \
|
|
|
|
|
FuseMounter/fusesandbox.h
|
|
|
|
|
# FuseMounter/archivemanager.h \
|
|
|
|
|
# FuseMounter/database.h \
|
|
|
|
|
# FuseMounter/fsproxy.h \
|
|
|
|
|
# FuseMounter/fusestuff.h \
|
|
|
|
|
# FuseMounter/modarchive.h
|
2025-08-20 14:57:00 +00:00
|
|
|
|
|
|
|
|
# /*************************/
|
|
|
|
|
# /* End of FUSE-based VFS */
|
|
|
|
|
# /*************************/
|
|
|
|
|
|
2023-01-12 16:17:00 +00:00
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
|
QML_IMPORT_PATH =
|
|
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules just for Qt Quick Designer
|
|
|
|
|
QML_DESIGNER_IMPORT_PATH =
|
|
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|