-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathQtHotelReservationSystem.pro
99 lines (81 loc) · 3.43 KB
/
QtHotelReservationSystem.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#-------------------------------------------------
#
# Project created by QtCreator 2018-08-21T19:05:14
#
#-------------------------------------------------
QT += core gui widgets sql
TARGET = QtHotelReservationSystem
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
CONFIG += c++14
SOURCES += \
main.cpp \
mainwindow.cpp \
mongostuff.cpp \
tablemodel.cpp \
reservation.cpp \
reservationdialog.cpp
HEADERS += \
mongostuff.h \
mainwindow.h \
reservation.h \
tablemodel.h \
reservationdialog.h
FORMS += \
mainwindow.ui \
reservationdialog.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
win32 {
#VCPKG =$$PWD/../../../vcpkg
VCPKG = C:/Users/Richa/Documents/vcpkg
LIBS += -L$$VCPKG/packages/mongo-cxx-driver_x64-windows/lib/
LIBS += -L$$VCPKG/packages/libbson_x64-windows/lib/
LIBS += -lmongocxx -lbsoncxx
LIBS += -lbson-1.0
INCLUDEPATH += $$VCPKG/packages/mongo-cxx-driver_x64-windows/include
DEPENDPATH += $$VCPKG/packages/mongo-cxx-driver_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/libbson_x64-windows/include
DEPENDPATH += $$VCPKG/packages/libbson_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-utility_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-config_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-throw-exception_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-assert_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-optional_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-core_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-static-assert_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-type-traits_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-move_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-bind_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-compatibility_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-detail_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-integer_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-mpl_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-predef_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-preprocessor_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-smart-ptr_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-utility_x64-windows/include
INCLUDEPATH += $$VCPKG/packages/boost-vcpkg-helpers_x64-windows/include
}
unix {
LIBS += -L/usr/local/lib -L/usr/local/lib64
LIBS += -lmongocxx -lmongoc-1.0
LIBS += -lbsoncxx -lbson-1.0
INCLUDEPATH += /usr/local/include/libmongoc-1.0/
INCLUDEPATH += /usr/local/include/libbson-1.0/
INCLUDEPATH += /usr/local/include/mongocxx/v_noabi/
INCLUDEPATH += /usr/local/include/bsoncxx/v_noabi/
}
DISTFILES += \
.gitignore \
Readme.md