diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2010-10-11 17:09:47 +0100 |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2010-10-12 13:57:01 +0100 |
commit | 0dd8d6e60a850b42b75d64ccc7eb793ae5c1549b (patch) | |
tree | 208bfa77381b03202481042505c0a884b2be836b /tests/auto/qfiledialog | |
parent | 2030d7894d119a207f872f23fc06ab3f934073f3 (diff) | |
download | qt4-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.cpp | 4 |
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" |