Make sure to include QStyleFactory before using

This seems to be included as a side effect of something else on Qt 5,
but must be included directly in Qt 4.8.
This commit is contained in:
Joe Ferris 2016-05-03 09:40:42 -04:00
parent caa736e1bc
commit 42cdd6e017
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
#include "IgnoreDebugOutput.h"
#include "StdinNotifier.h"
#include <QApplication>
#include <QStyleFactory>
#include <iostream>
#ifdef Q_OS_UNIX
#include <unistd.h>