-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QMake: Fixing the right .pro file to add QNetwork to tests.
- Loading branch information
Showing
2 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# mindforger-lib-unit-tests.pro MindForger thinking notebook | ||
# src.pro MindForger thinking notebook | ||
# | ||
# Copyright (C) 2016-2024 Martin Dvorak <[email protected]> | ||
# | ||
|
@@ -22,7 +22,18 @@ DEFINES = DO_MF_DEBUG | |
|
||
CONFIG += console | ||
CONFIG -= app_bundle | ||
CONFIG -= qt | ||
|
||
win32|macx { | ||
# Qt Network as CURL replacement on Win - add Qt to libmindforger | ||
CONFIG += qt | ||
QT += network | ||
} else { | ||
CONFIG -= qt | ||
} | ||
|
||
message("= MindForger library test QMake configuration ==========================") | ||
message("Qt version: $$QT_VERSION") | ||
|
||
|
||
INCLUDEPATH += $$PWD/../../../lib/src | ||
DEPENDPATH += $$PWD/../../../lib/src | ||
|
@@ -139,4 +150,13 @@ SOURCES += \ | |
HEADERS += \ | ||
./test_gear.h | ||
|
||
# ######################################## | ||
# Diagnostics | ||
# ######################################## | ||
|
||
message(DEFINES of app.pro build: $$DEFINES) | ||
message(QMAKE_EXTRA_TARGETS of app.pro build: $$QMAKE_EXTRA_TARGETS) | ||
message(QT of app.pro build: $$QT) | ||
message(PATH is: $$(PATH)) | ||
|
||
# eof |