diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-07-19 10:40:25 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-19 12:03:27 +0200 |
commit | 301538cf01cf0c1bf27075e8459894a0e37756d6 (patch) | |
tree | edfd61089493c88e8d0b25b33f1e4a3856556420 /tests/auto/cmake/test_private_includes | |
parent | 873f04481e80423ecf6359214373ca0b959d1558 (diff) |
Add another directory to the private INCLUDE_DIRS list.
It should be possible to include both:
* <QtGui/private/qfoo.h>
* <private/qfoo.h>
Change-Id: I83ed5bba633b4a6b9bd38e315c987d78beecfb1b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'tests/auto/cmake/test_private_includes')
-rw-r--r-- | tests/auto/cmake/test_private_includes/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/cmake/test_private_includes/main.cpp b/tests/auto/cmake/test_private_includes/main.cpp index 4f4457bfa1..3319688058 100644 --- a/tests/auto/cmake/test_private_includes/main.cpp +++ b/tests/auto/cmake/test_private_includes/main.cpp @@ -42,6 +42,7 @@ #include <QGuiApplication> #include <QScreen> #include <qpa/qplatformscreen.h> +#include <QtGui/qpa/qplatformpixmap.h> int main(int argc, char **argv) { @@ -50,5 +51,9 @@ int main(int argc, char **argv) QPlatformScreen *screenHandle = app.screens().first()->handle(); screenHandle->geometry(); + QPixmap pixmap; + QPlatformPixmap *pixmapHandle = pixmap.handle(); + pixmapHandle->width(); + return 0; } |