Skip to content

Commit

Permalink
tested with gcc in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
j2doll committed Feb 16, 2023
1 parent 731d5b3 commit 6778316
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions HelloQXlnt/HelloQXlnt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,21 @@ DEFINES += QT_DEPRECATED_WARNINGS
# Set environment values for Qxlnt. You may use default values.

msvc{
message('Visual C++ TYPE')
DEFINES+=XLNT_IMPORT
INCLUDEPATH += ../xlnt/include
message('Visual C++ TYPE')
DEFINES+=XLNT_IMPORT
INCLUDEPATH += ../xlnt/include
CONFIG(debug, debug|release) {
LIBS += -L../QXlnt/debug
LIBS += -lQxlnt
} else {
LIBS += -L../QXlnt/release
LIBS += -lQxlnt
}
} else {
message('non-Visual C++ TYPE')
include(../Qxlnt/Qxlnt.pri)
}

msvc:CONFIG(debug, debug|release) {
LIBS += -L../QXlnt/debug
LIBS += -lQxlnt
} else {
LIBS += -L../QXlnt/release
LIBS += -lQxlnt
}

msvc{
message('[TODO:] Copy QXlnt/[debug][release]/Qxlnt.dll to your application directory.')
} else {
Expand Down

0 comments on commit 6778316

Please sign in to comment.