Subprojects and long build time?
-
Hello
Recently Im developing a little project with unit tests. There are Main project which is contain of one subproject - QtApplication and several Unit tests subproject. The problem is when I build only application and click start all ut's projects start to build - I don't' want it! I want to build and run only application project without bulding any subprojects. My Qt creator tree looks like this:
Project:
- ApplicationProject
- UT1
- UT2
...
application and uts are on the same tree level. how can I change qt creator behaviour? I don't want to build all main project when i click build/run
BR
Bartek -
If you have not modified files from UT sub-projects then make will not build them unless you modified some files in the main project and the tests depend on that files.
I think you can right click on sub-project and tell qtcreator to build only that sub-project.
Another option will be to comment out the sub-project which you don't want to build.
-
Check "this out":http://qt-project.org/forums/viewthread/15217/
"Under the Projects tab, go to Run Settings, and you should be able to select it there."Another option is to click on fourth icon from bottom of side bar and it will show you all build and run targets.
-
hello again. Ok I found that I can "run project without deployment" and then nothing begin build but I can't debug without building all project! When I chose subproject from left panel and click debug all whole project begin to build and when i have some error in different subproject i cant debug my current subproject its strange and ridiculous behavior. How can I debug subproject without building all projects?