You just need to learn the CMake language. It is the language of the CMakeListes.txt files that are all over the project.
This language specifies how to build the project. And this language is independent from the QtCreator IDE that we are using. So, you can do builds without QtCreator and create CMakeListes.txt manually where you wish.
Back to the problem:
You can use 'add_subdirectory' and write CMakeListes.txt for each subdirectory and append file names to QML_JS_FILES variable in each CMakeListes.txt.
But you can also do as the guys who develop core application do: for example in ubuntu-terminal-app (source code is on https://launchpad.net), they use a recursive include in app/CMakeListes.txt:
file(GLOB_RECURSE QML_JS_FILES *.qml *.js)
instead of non-recursive:
file(GLOB QML_JS_FILES *.qml *.js)
update:
Yes, generally, GLOBs are not recommended, but they are already in the project templates to simulate some kind of 'automatic' behavior.
Best Answer
The official Ubuntu Touch icon theme is called Ubuntu Mobile, and is available for installation in the
ubuntu-mobile-icons
package. Here is a sample of the icons provided:To use the icons in your code, just use the path to the icon. For example, to set the icon in a toolbar button, do something similar to this:
To avoid having to repeat the root path over and over again, I usually use a small function called
getIcon
which returns the actual path to an icon:The previous example would then be: