[Qt-creator] Incremental Build after Version Bump

Orgad Shaneh orgads at gmail.com
Wed Oct 20 21:50:54 CEST 2021


On Wed, Oct 20, 2021 at 10:21 PM Björn Schäpers <qt-maillist at hazardy.de>
wrote:

> Hi,
>
> I'm compiling QtCreator from sources (with Qt5 and qmake on MinGW) and am
> wondering what do I need to delete or invoke to get the correct version
> number
> in the plugins (so that they can be loaded), if Creator's version is
> bumped?
>

If I recall correctly, this should do the trick:
cd $build_dir/src/plugins
find \( -name moc_projectexplorer.cpp -o -name 'moc_*plugin.cpp' \) | xargs
rm -f

Build as usual.

See related https://bugreports.qt.io/browse/QTBUG-41694.

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20211020/ebd2ec15/attachment.html>


More information about the Qt-creator mailing list