Include vsapoint.cpp only before C++17.
This commit is contained in:
parent
16c5117b9c
commit
74bd52652e
|
@ -11,51 +11,58 @@ VLib {
|
||||||
Depends { name: "VFormatLib" }
|
Depends { name: "VFormatLib" }
|
||||||
|
|
||||||
name: "VLayoutLib"
|
name: "VLayoutLib"
|
||||||
files: [
|
files: {
|
||||||
"vlayoutexporter.h",
|
var files = [
|
||||||
"vlayoutgenerator.h",
|
"vlayoutexporter.h",
|
||||||
"vlayoutdef.h",
|
"vlayoutgenerator.h",
|
||||||
"vlayoutpaper.h",
|
"vlayoutdef.h",
|
||||||
"vlayoutpaper_p.h",
|
"vlayoutpaper.h",
|
||||||
"vbank.h",
|
"vlayoutpaper_p.h",
|
||||||
"vcontour.h",
|
"vbank.h",
|
||||||
"vcontour_p.h",
|
"vcontour.h",
|
||||||
"vbestsquare.h",
|
"vcontour_p.h",
|
||||||
"vlayoutpoint.h",
|
"vbestsquare.h",
|
||||||
"vposition.h",
|
"vlayoutpoint.h",
|
||||||
"vrawlayout.h",
|
"vposition.h",
|
||||||
"vprintlayout.h",
|
"vrawlayout.h",
|
||||||
"vsapoint.h",
|
"vprintlayout.h",
|
||||||
"vtextmanager.h",
|
"vsapoint.h",
|
||||||
"vposter.h",
|
"vtextmanager.h",
|
||||||
"vgraphicsfillitem.h",
|
"vposter.h",
|
||||||
"vabstractpiece.h",
|
"vgraphicsfillitem.h",
|
||||||
"vabstractpiece_p.h",
|
"vabstractpiece.h",
|
||||||
"vlayoutpiece.h",
|
"vabstractpiece_p.h",
|
||||||
"vlayoutpiece_p.h",
|
"vlayoutpiece.h",
|
||||||
"vlayoutpiecepath.h",
|
"vlayoutpiece_p.h",
|
||||||
"vlayoutpiecepath_p.h",
|
"vlayoutpiecepath.h",
|
||||||
"vbestsquare_p.h",
|
"vlayoutpiecepath_p.h",
|
||||||
"vrawsapoint.h",
|
"vbestsquare_p.h",
|
||||||
"vlayoutexporter.cpp",
|
"vrawsapoint.h",
|
||||||
"vlayoutgenerator.cpp",
|
"vlayoutexporter.cpp",
|
||||||
"vlayoutpaper.cpp",
|
"vlayoutgenerator.cpp",
|
||||||
"vbank.cpp",
|
"vlayoutpaper.cpp",
|
||||||
"vcontour.cpp",
|
"vbank.cpp",
|
||||||
"vbestsquare.cpp",
|
"vcontour.cpp",
|
||||||
"vlayoutpoint.cpp",
|
"vbestsquare.cpp",
|
||||||
"vposition.cpp",
|
"vlayoutpoint.cpp",
|
||||||
"vrawlayout.cpp",
|
"vposition.cpp",
|
||||||
"vsapoint.cpp",
|
"vrawlayout.cpp",
|
||||||
"vprintlayout.cpp",
|
"vprintlayout.cpp",
|
||||||
"vtextmanager.cpp",
|
"vtextmanager.cpp",
|
||||||
"vposter.cpp",
|
"vposter.cpp",
|
||||||
"vgraphicsfillitem.cpp",
|
"vgraphicsfillitem.cpp",
|
||||||
"vabstractpiece.cpp",
|
"vabstractpiece.cpp",
|
||||||
"vlayoutpiece.cpp",
|
"vlayoutpiece.cpp",
|
||||||
"vlayoutpiecepath.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 {
|
Group {
|
||||||
name: "dialogs"
|
name: "dialogs"
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
**
|
**
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
// See https://stackoverflow.com/a/46719572/3045403
|
// See https://stackoverflow.com/a/46719572/3045403
|
||||||
#if __cplusplus < 201703L
|
#if __cplusplus < 201703L
|
||||||
#include "vsapoint.h"
|
#include "vsapoint.h"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user