May 17, 2011

sfabry sfabry
Lab Rat
17 posts

Qt Demo in SDK

 

Hello,

Can’t find anymore the QtDemo binary in the SDK.
I only have the source code, but don’t want to build them just to have a look at one or two features…

Would be nice to have the possibility to install it through the “updater/installer/package manager” of the SDK.

Regards

14 replies

May 17, 2011

Peppy Peppy
Hobby Entomologist
389 posts

Yes, you can’t find, because it isn’t there….
Just in Qt Creator open an example which you want to see, build it, and you have all you need.

Why it isn’t built in installation? It saves a time & space! Why I should have built examples in my harddrive, when I don’t need them? Open, build, look. If you don’t need binaries anymore, remove them.

May 17, 2011

Thanatos.jsse Thanatos.jsse
Ant Farmer
72 posts

See youtube videos about that…

May 18, 2011

sfabry sfabry
Lab Rat
17 posts

Why always negative, not constructive responses on this forum… I just wanted to do a positive improvement suggestion for the future of the SDK.

I used to browse the qt demos when I search for ideas to implement things, other newcomer to Qt could do the same right after having installed the SDK, just to see what Qt looks like. They have to be able to do this without reading a full tutorial on how to build an example and so on (even if it is sooooo simple for you pros of Qt). That’s my opinion, point.

Further you arguments of time and space is not correct as you have now the choice of the components you install with the SDK (my opinion again would be the demos by default by the way). The demo executable is about 600k and the whole demos exec may be a few tens Mb, when you install a SDK of about 1Go on nowadays computers, I really wonder who cares about that space on his harddrive.

I wont do any comment on the youtube suggestion…

So please if you don’t have anything constructive to say, better to say nothing, just post on a dummy topic to get forum points.

May 18, 2011

gedd gedd
Lab Rat
36 posts

I used to browse the qt demos when I search for ideas to implement things, other newcomer to Qt could do the same right after having installed the SDK, just to see what Qt looks like. They have to be able to do this without reading a full tutorial on how to build an example and so on (even if it is sooooo simple for you pros of Qt). That’s my opinion, point.

I use Qt Demo in the same way and i have the same 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 ?

 Signature 

Gedd

May 18, 2011

Chuck Gao Chuck Gao
Lab Rat
342 posts

gedd wrote:
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 ?

Maybe it’s a good idea.

 Signature 

Chuck

May 18, 2011

Peppy Peppy
Hobby Entomologist
389 posts

Really it didn’t work? Quite strange, it should work, any error messages?…

June 7, 2011

gedd gedd
Lab Rat
36 posts

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 directory

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

 Signature 

Gedd

June 7, 2011

Babylon Babylon
Lab Rat
1 posts

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?

July 11, 2011

sr105 sr105
Lab Rat
2 posts

Same error here with 4.7.3 on OSX.

July 12, 2011

loladiro loladiro
Lab Rat
596 posts

That is a known bug and has been discussed before (search the forum!)

July 12, 2011

sr105 sr105
Lab Rat
2 posts

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.

July 12, 2011

gedd gedd
Lab Rat
36 posts

You’re right sr105 but “it is never better served than by yourself”.
the post [developer.qt.nokia.com]
the bug [bugreports.qt.nokia.com]

 Signature 

Gedd

July 12, 2011

Eddy Eddy
Area 51 Engineer
1296 posts
sr105 wrote:
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.

Or you could click on the “qt demo” tag
And you will see all topics that have been tagged like that on devnet.

 Signature 

Qt Certified Specialist
Qt Ambassador

December 3, 2011

tyamamo10 tyamamo10
Lab Rat
1 posts

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.

 
  ‹‹ Qt Creator and Building example widgets on embedded platforme      Qt Creator message Qt version in not properly installed, please run make install... message / error... ››

You must log in to post a reply. Not a member yet? Register here!