hi,
to get version of MY app while running I'm creating a variable :
in .spec, add / change :
%qtc_qmake5 \
VERSION=%{version}
in .pro add :
DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\"
then in cpp, set version to the QGuiApplication :
app->setApplicationVersion(QString(APP_VERSION));
fr
Hi,
I'm trying to update the application version everytime I change it in the .SPEC
file but it seems that there's no Harbour allowed API is available to querry
the application version when running?
My last help would be parsing a "pkcon search name " but if there's a
better method available, t