Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15.2
-
None
-
Qt Creator, Visual Studio with Qt plugin
Description
If a qml project is compiled with the Qt Quick compiler enabled the corresponding myfile_qml.cpp is correctly generated but inside the executable, using a normal text editor like Notepad+, is possible to see the full qml sources. Try to compile the project in attach with Qt Quick compiler enabled (is enabled by default). The compilation results are the two files main_qml.cpp and main_qml.o as consequence of compilation of main.qml. However if you open the qmlTest.exe with notepad+ you can see find inside the exe the full main.qml source clearly visible:
import QtQuick 2.12 import QtQuick.Window 2.12 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") }
I verified this issue with Qt Creator using Mingw and android compilation but it also appears using Visual Studio with Qt Plugin.
Please note: yesterday I reported the same bug but in the Qt Creator section here. After checked the Qt source I understood the problem is inside the Qt package itself instead of the IDE.
Attachments
Issue Links
- relates to
-
QTBUG-102785 Remove or obfuscate QML code from released executable
- Closed
- replaces
-
QTCREATORBUG-25074 Compiled qml sources visible inside executable
- Closed