Do you want to managea big project in Qt with lots n lots of header files and source files, that are tend to be updated across the teams, don't worry.
Make your_module_name.pri file in the top directory(or where ever) and put your
INCLUDEPATH +=
LIBS +=
DEFINES +=
HEADERS +=
SOURCES +=
And include that file in your project as
include(path/to/your_module_name.pri)
You want to handle different platforms using Qt Creator, here is the solution
yourPlatformName {
#and goes your device specific stuff
}
And don't forget to mention this in your Project Settings
Press Ctrl + 5 and under Build Steps add
CONFIG+=yourPlatformName
Wanna copy your data files to executable location
copydata.commands = $(COPY_DIR) path/to/file1 path/to/file2 path/to/file3 path/to/file-n $$OUT_PWD
first.depends = $(first) copydata
export(first.depends)
export(copydata.commands)
QMAKE_EXTRA_TARGETS += first copydata
And finally you want to install your application on target platform via ethernet, then add
target.files = project_name
target.path = /home/root/CL
INSTALLS += target
Add your device
Tools->Options->Device->Add and enter relevant details
*If you don't have password don't enter it.
Simple select your device(above the Play/Run button) and Ctrl+R, your code runs on the platform directly.