not using the minimal plugin, as we might need fonts
This commit is contained in:
parent
167f7f628c
commit
ddcb02bd92
@ -33,13 +33,21 @@ int main( int argc, char* argv[] )
|
||||
return -1;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/*
|
||||
When there are no "text" parts in the SVGs we can avoid
|
||||
the costs of initializing not needed fonts
|
||||
by using the minimal plugin.
|
||||
*/
|
||||
qputenv( "QT_QPA_PLATFORM", "minimal" );
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
/*
|
||||
When having a SVG with specific font assignments Qt runs on
|
||||
qGuiApp to load a default font. Makes no sense in this context,
|
||||
but to avoid having segfaults ...
|
||||
*/
|
||||
qputenv( "QT_QPA_PLATFORM", "minimal" );
|
||||
QGuiApplication app( argc, argv );
|
||||
#endif
|
||||
|
||||
|
@ -5,6 +5,7 @@ QT += svg
|
||||
|
||||
CONFIG += standalone
|
||||
CONFIG -= app_bundle
|
||||
CONFIG -= sanitize
|
||||
|
||||
DESTDIR = $${QSK_OUT_ROOT}/tools/bin
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user