Topic: Mod version name
Get the version name from git.
eg: git describe
add line in qelectrotech.pro
DEFINES += GIT_VERSION="\\\"$(shell git -C \""$$_PRO_FILE_PWD_"\" describe)\\\""
mod line in aboutqetdialog.cpp
@@ -141,7 +141,7 @@ void AboutQETDialog::setContributors()
void AboutQETDialog::setVersion()
{
QString str = "<span style=\"font-weight:bold;font-size:16pt;\">QElectroTech V "
- + QET::displayedVersion
+ + QString(GIT_VERSION)
+ "</span>";
condition: add "Make clean" at the beginning of the Build Steps
Question: Is it worth knowing the git SHA1 ID if you will always need to build full