Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
All Windows binary packages (mingw, VS2005, VS2008), All Windows versions.
-
48f18622
Description
The demos that can be launched from qtdemo.exe have their binary placed in a release subdirectory within the demo, e.g. in the mainwindow demo, the source lives in demos\mainwindow and the binary is demos\mainwindow\release\mainwindow.exe.
For the spectrum demo, there is no demos\spectrum\release subdirectory (the .exe is in demos\spectrum), so qtdemo fails to launch the demo even though it was built, and displays an error dialog suggesting that the binary wasn't built.
Moving the spectrum.exe to demos\spectrum\release allows qtdemo to launch it successfully, so the binary simply needs to be put in the right place during the build.
This problem seems to be due to the .pro file in the demo. Most of the projects under demos\... use a very similar .pro file, while the spectrum.pro is completely different.
Attachments
Issue Links
- depends on
-
QTBUG-13020 BT: Spectrum Analyzer example does not launch from qtdemo app
-
- Closed
-
-
QTBUG-13225 qtdemo on windows: Failed to launch the example (Spectrum Analyzer)
-
- Closed
-
- relates to
-
QTBUG-13127 The spectrum analyser in Qt demo is not built in the binary package
-
- Closed
-