Include vsapoint.cpp only before C++17.
This commit is contained in:
parent
16c5117b9c
commit
74bd52652e
|
@ -11,7 +11,8 @@ VLib {
|
|||
Depends { name: "VFormatLib" }
|
||||
|
||||
name: "VLayoutLib"
|
||||
files: [
|
||||
files: {
|
||||
var files = [
|
||||
"vlayoutexporter.h",
|
||||
"vlayoutgenerator.h",
|
||||
"vlayoutdef.h",
|
||||
|
@ -46,7 +47,6 @@ VLib {
|
|||
"vlayoutpoint.cpp",
|
||||
"vposition.cpp",
|
||||
"vrawlayout.cpp",
|
||||
"vsapoint.cpp",
|
||||
"vprintlayout.cpp",
|
||||
"vtextmanager.cpp",
|
||||
"vposter.cpp",
|
||||
|
@ -54,8 +54,15 @@ VLib {
|
|||
"vabstractpiece.cpp",
|
||||
"vlayoutpiece.cpp",
|
||||
"vlayoutpiecepath.cpp",
|
||||
"vrawsapoint.cpp",
|
||||
]
|
||||
"vrawsapoint.cpp"
|
||||
];
|
||||
|
||||
if (Qt.core.versionMajor >= 5 && Qt.core.versionMinor < 12) {
|
||||
files.push("vsapoint.cpp"); // need only before C++17
|
||||
}
|
||||
|
||||
return files;
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "dialogs"
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
**
|
||||
*************************************************************************/
|
||||
|
||||
|
||||
// See https://stackoverflow.com/a/46719572/3045403
|
||||
#if __cplusplus < 201703L
|
||||
#include "vsapoint.h"
|
||||
|
|
Loading…
Reference in New Issue
Block a user