summaryrefslogtreecommitdiff
path: root/tests/auto/qfiledialog
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-10-11 17:09:47 +0100
committerShane Kearns <shane.kearns@accenture.com>2010-10-12 13:57:01 +0100
commit0dd8d6e60a850b42b75d64ccc7eb793ae5c1549b (patch)
tree208bfa77381b03202481042505c0a884b2be836b /tests/auto/qfiledialog
parent2030d7894d119a207f872f23fc06ab3f934073f3 (diff)
downloadqt4-tools-0dd8d6e60a850b42b75d64ccc7eb793ae5c1549b.tar.gz
Fix compilation of two autotests
These tests did not link when QT_BUILD_INTERNAL was not defined, as one of the private headers was causing QFileInfoGatherer::~QFileInfoGatherer to be referenced Reviewed-By: Thomas Zander
Diffstat (limited to 'tests/auto/qfiledialog')
-rw-r--r--tests/auto/qfiledialog/tst_qfiledialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qfiledialog/tst_qfiledialog.cpp b/tests/auto/qfiledialog/tst_qfiledialog.cpp
index ca7c44514f..5d369b4f5e 100644
--- a/tests/auto/qfiledialog/tst_qfiledialog.cpp
+++ b/tests/auto/qfiledialog/tst_qfiledialog.cpp
@@ -61,9 +61,13 @@
#include <qlineedit.h>
#include <qlayout.h>
#include "../../shared/util.h"
+#if defined QT_BUILD_INTERNAL
#include "../../../src/gui/dialogs/qsidebar_p.h"
#include "../../../src/gui/dialogs/qfilesystemmodel_p.h"
#include "../../../src/gui/dialogs/qfiledialog_p.h"
+#endif
+#include <QFileDialog>
+#include <QFileSystemModel>
#include "../network-settings.h"