fralx / LimeReport

Report generator for Qt Framework
http://limereport.ru/
Other
403 stars 154 forks source link

Fix qmake version generator #474

Closed aol-nnov closed 1 month ago

aol-nnov commented 1 month ago

cmake's execute_process() has WORKING_DIRECTORY parameter, but qmake's $$system() does not.

As a workaround for qmake, git command was called with --git-dir provided explicitly. But for dirtyness detection we need --work-tree, too.

Follow-up for https://github.com/fralx/LimeReport/pull/471#issuecomment-2362114994

/cc @fralx

aol-nnov commented 1 month ago
mingw32-make[2]: Entering directory 'C:/projects/limereport/limereport'
sed 's/@GIT_VERSION@/1.7.14-10-gd8f2f01/' version.h.in > version.h
'C:\Qt\5.12\mingw73_64\bin\uic.exe' databrowser/lrsqleditdialog.ui -o win64/release/ui/ui_lrsqleditdialog.h

всё в порядке.