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



  • 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.



  • See youtube videos about that...



  • 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.



  • bq. 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 ?



  • [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.



  • Really it didn't work? Quite strange, it should work, any error messages?...



  • 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

    bq. 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?



  • Same error here with 4.7.3 on OSX.



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



  • 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.



  • 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


  • Moderators

    [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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.