mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 12:52:04 +08:00
sync with Thunder
This commit is contained in:
49
spark-update-tool/spark-update-tool.pro
Normal file
49
spark-update-tool/spark-update-tool.pro
Normal file
@@ -0,0 +1,49 @@
|
||||
QT += core gui widgets network concurrent
|
||||
TARGET = spark-update-tool
|
||||
TEMPLATE = app
|
||||
|
||||
# Set C++ standard to C++17
|
||||
CONFIG += c++17
|
||||
|
||||
# Enable auto features (uic, moc, rcc)
|
||||
CONFIG += qt warn_on release
|
||||
|
||||
# Version info
|
||||
VERSION = 0.1.0
|
||||
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
||||
|
||||
# Source files
|
||||
SOURCES += \
|
||||
src/main.cpp \
|
||||
src/mainwindow.cpp \
|
||||
src/aptssupdater.cpp \
|
||||
src/appdelegate.cpp \
|
||||
src/applistmodel.cpp \
|
||||
src/downloadmanager.cpp \
|
||||
src/ignoreconfig.cpp
|
||||
|
||||
HEADERS += \
|
||||
src/mainwindow.h \
|
||||
src/aptssupdater.h \
|
||||
src/appdelegate.h \
|
||||
src/applistmodel.h \
|
||||
src/downloadmanager.h \
|
||||
src/ignoreconfig.h
|
||||
|
||||
FORMS += \
|
||||
src/mainwindow.ui
|
||||
|
||||
RESOURCES += \
|
||||
src/icons.qrc
|
||||
|
||||
# Linux-specific settings
|
||||
unix:!macx {
|
||||
# Installation paths for Linux
|
||||
target.path = $$[QT_INSTALL_BINS]
|
||||
INSTALLS += target
|
||||
|
||||
# Additional Linux specific configurations if needed
|
||||
QMAKE_CXXFLAGS += -Wall -Wextra
|
||||
}
|
||||
|
||||
# Remove Windows and macOS specific sections since we're focusing on Linux
|
||||
Reference in New Issue
Block a user