Qt Demo in SDK
-
[quote author="gedd" date="1305712208"]I use Qt Demo in the same way and i have the opinion.
I made a quick try to build it in QtCreator but this was a fail.
So I gave up.Why not set an option to install and build QtDemo at the setup ?[/quote]
Maybe it's a good idea.
-
I make a new try with SDK 1.1.1 on windows xp.
fatal error C1083: Can not open include file: 'private / qpixmapdata p.h': No such file or directorybq. fatal error C1083: Can not open include file: 'private/qpixmapdata_p.h': No such file or directory
i check it : private dir not exist and qpixmapdata_p.h file not exist
-
ditto, I had same result. After much fiddling I got it to compile but it won't run demos, says documentation not built. Sometimes says demo not built, but I know it was. Maybe in wrong place? What now?
How about posting step by step how to build the QT Demo?
-
You're right sr105 but "it is never better served than by yourself".
"the post":http://developer.qt.nokia.com/forums/viewthread/6774/P15
"the bug":http://bugreports.qt.nokia.com/browse/QTSDK-636 -
[quote author="sr105" date="1310460334"]I did a google search and it directs you here. So perhaps it would be best if you had just provided links to the other forum posts. It would have been at least a bit more constructive.[/quote]
Or you could click on the "qt demo" tag
And you will see all topics that have been tagged like that on devnet. -
I had the exact same problem with 4.7.4 on Ubuntu 10.04 and OS X 10.7, but I was able to find the header file at QtGui/private/qpixmapdata_p.h. Maybe, the following file is the same: http://qt.gitorious.org/+qt-developers/qt/staging/blobs/ae6bc1d824f5ae24a259be0c68241873cb96739f/src/gui/image/qpixmapdata_p.h
Copy and paste it under "shared", the directory you're working, because changing the line in arthurwidgets.cpp from #include <private/qpixmapdata_p.h> to #include <QtGui/private/qpixmapdata_p.h> didn't solve the problem (at least for me). Instead, change it to #include "qpixmapdata_p.h" assuming you saved the header file in the working directory. Then, it should compile and build fine. Hope this helps.