Feature #2796
[SOURCE] Examples should Work Standalone
Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/11/2014
Due date:
% Done:
0%
Estimated time:
Description
I tried to open the "hangman" example stand-alone within the qt-creator IDE (CMakeLists.txt). This failed.
After this, I've tried to open the whole Examples tree. This failed, too.
I opened it finally as "new project", importing the sources, just to be able to look at the code within the ide (no compilation).
A possible feature would be:
- Ideally: each example should work (build, run) for itself.
- Alternatively: the example-tree should work for itself.
This could become difficult, and involve the CMAKE build-system. But having the source-codes modular and reusable (and not monolithic and coupled), especially the examples, has several benefits which could be worth the effort.
Test Case
- using qt-creator to open (via CMakeLists.txt) an example or the whole example tree.