Skip to content

Commit 47c5018

Browse files
authored
Update csv_converter.pro
1 parent f77c6ff commit 47c5018

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

csv_converter.pro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@ win32 {
2525
DEFINES += WINVER=0x0A00 _WIN32_WINNT=0x0A00
2626
}
2727

28+
# Qt 6 specific settings
29+
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
30+
2831
# Compiler flags
29-
QMAKE_CXXFLAGS += -std=c++17
32+
QMAKE_CXXFLAGS += /std:c++17
3033

3134
# Release optimizations
3235
CONFIG(release, debug|release) {
3336
DEFINES += QT_NO_DEBUG_OUTPUT
34-
QMAKE_CXXFLAGS_RELEASE += -O2
37+
QMAKE_CXXFLAGS_RELEASE += /O2
3538
}
3639

3740
# Debug settings

0 commit comments

Comments
 (0)