Anyway to automatically run all the demos for Qt 4.7.1 SDK on Windows



  • I was able to build all the Qt 4.7.1 demos with Intel compiler on Window. Is there an automated way to run all the demos and verify that the demos ran correctly?

    I don't know where to post this question, so any help is much appreciated.



  • I have installed the precompiled version, it comes with qtdemo.exe which actually present all demos and you can run all of them.



  • Why don't you try the Qt Demo with the sdk?
    Ok, you have to click for every program but for me run all demo at the same time is a suicide :P



  • [quote author="quocanle" date="1292609850"]Is there an automated way to run all the demos and verify that the demos ran correctly?
    [/quote]

    u want to automate it to test if your build was right ?



  • run all demo at the same time is a suicide :P

    :) Not at the same time. I just want a way to verify that the compiler I am using is able to build everything, and that the demos run correctly.

    I don't want to go through and click all 120+ demos and check to see if it runs correctly.

    On linux, I think there is a "test/auto" directory that would build and run the demos and produce output to xml files, but I have not done it.

    I do not see the same directories on windows.



  • Unfortunately there is no any script which runs all the example/demos and tests it, may be you would be tempting to write one,Indeed it would be very good for all of us if we have any such script available.
    atleast run the application and exit, I know testing every bit of events would be tedious job.



  • [quote author="quocanle" date="1292976257"]>> run all demo at the same time is a suicide :P

    :) Not at the same time. I just want a way to verify that the compiler I am using is able to build everything, and that the demos run correctly.

    I don't want to go through and click all 120+ demos and check to see if it runs correctly.

    On linux, I think there is a "test/auto" directory that would build and run the demos and produce output to xml files, but I have not done it.

    I do not see the same directories on windows.[/quote]

    btw which is the compiler you are referring to.


Log in to reply
 

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