-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnepdate-calendar.pro
54 lines (41 loc) · 1.23 KB
/
nepdate-calendar.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#-------------------------------------------------
#
# Project created by QtCreator 2024-04-27 T11:24:12
#
#-------------------------------------------------
QT += core gui widgets
# Define the main executable
TEMPLATE = app
TARGET = nepdate-calendar
SOURCES += main_calendar.cpp \
calendarwindow.cpp \
mainwindow.cpp
HEADERS += calendarwindow.h \
DayTithiWidget.h \
bikram.h \
mainwindow.h \
panchanga.h
FORMS += calendarwindow.ui \
mainwindow.ui
# Resources specific to nepdate-calendar
RESOURCES += resources.qrc
# Enable warning about missing libraries
CONFIG += warn_on
# Compiler flags
QMAKE_CXXFLAGS += -std=c++17
# Windows-specific settings
win32 {
# Specify the path to the Qt installation. change here if you have different Qt version
QMAKE_LIBDIR += C:/Qt/6.6.1/mingw_64/lib
QMAKE_INCDIR += C:/Qt/6.6.1/mingw_64/include
# Add other Windows-specific configurations here
CONFIG += windows
QMAKE_LFLAGS += -static
# Prevent linker errors with MinGW
QMAKE_LFLAGS_WINDOWS += -static-libgcc -static-libstdc++
}
# Linux-specific settings
unix {
QMAKE_CXXFLAGS += -I/usr/include/qt6
QMAKE_LIBDIR += /usr/lib/x86_64-linux-gnu
}