Tuesday, 22 April 2014

How to make Qt's QApplication startup incredibly slow

If you want this code:

QApplication a(argc, argv);

...to take minutes instead of seconds, just at the Qt binary path to your library search paths:

QCoreApplication::addLibraryPath( qtpath + "/bin" );

I've no idea why!