@SimonSchroeder :
First of all: I am for sure also not a lawyer. Just a simple developer.
The file used, src/qml/qqmlbuiltins_p.h, declares multi licenses:
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
So I am a bit unsure of what the resulting license of the static library is.
What I was hoping for, is what @Ulf-Hermann is also doing and changing so the library is not static, since it did not really make sense (in my opinion).
I am puzzled to why noone else have been looking into their generated makefiles and wondered why a static linking was suddenly done. As far as I can tell, it should happen as soon as the application uses QML hence happen for quite alot of people.
I geuss few people actually look in the generated Makefiles..
@Ulf-Hermann :
I did test removing the builtins from the Makefile and building my code. Removing the builtins, makes the code compile, and seemingly work (did not do a complete test of all the features in the application). That can of cause be done, but it seems wrong to:
run qmake
manually fixup the generated Makefile
run make