This commit is contained in:
ivaquero
2026-04-18 06:13:30 +08:00
parent 49b39b74d2
commit ec341ddba2
36 changed files with 1941 additions and 273 deletions
+47
View File
@@ -0,0 +1,47 @@
# Created by and for Qt Creator This file was created for editing the project sources only.
# You may attempt to use it for building too, by modifying this file here.
TARGET = Clouck
QT = core gui widgets
SOURCES = \
$$PWD/main.cpp \
$$PWD/clock_widget.cpp \
$$PWD/config_manager.cpp \
$$PWD/window_helper.cpp
HEADERS = \
$$PWD/clock_widget.h \
$$PWD/config_manager.h \
$$PWD/window_helper.h \
$$PWD/window_helper_macos.h \
$$PWD/window_helper_windows.h \
$$PWD/window_helper_linux.h
macx {
OBJECTIVE_SOURCES = $$PWD/window_helper_macos.mm
LIBS += -framework AppKit -framework CoreGraphics
QMAKE_CXXFLAGS += -x objective-c++
}
win32 {
SOURCES += $$PWD/window_helper_windows.cpp
LIBS += -luser32 -ldwmapi -luser32 -lgdi32 -lkernel32
}
unix:!macx {
LIBS += -lX11 -lXfixes
}
INCLUDEPATH = \
$$PWD/.
# Set build output directories
DESTDIR = $$PWD/build
OBJECTS_DIR = $$PWD/build
MOC_DIR = $$PWD/build
RCC_DIR = $$PWD/build
UI_DIR = $$PWD/build
#DEFINES =