|
@@ -165,6 +165,9 @@ char * fgets_large(FILE * fp)
|
|
int main(int argc, char * argv[]) {
|
|
int main(int argc, char * argv[]) {
|
|
#if defined(Q_OS_UNIX)
|
|
#if defined(Q_OS_UNIX)
|
|
setlocale(LC_ALL, "");
|
|
setlocale(LC_ALL, "");
|
|
|
|
+#if QT_VERSION >= 0x050000 && !defined(__EXTENSIVE_WKHTMLTOPDF_QT_HACK__)
|
|
|
|
+ setenv("QT_QPA_PLATFORM", "offscreen", 0);
|
|
|
|
+#endif
|
|
#endif
|
|
#endif
|
|
//This will store all our settings
|
|
//This will store all our settings
|
|
PdfGlobal globalSettings;
|
|
PdfGlobal globalSettings;
|