Thx guys. The problem is Qt creator don't include resource file until launch qmake. Strange behavior.
Thx guys. The problem is Qt creator don't include resource file until launch qmake. Strange behavior.
Why would you want to store config information in the app's resources? This means they can't be changed at run time, because that would require rebuilding the executable. And since you have to run the resource compiler and relink the executable every time the resources change, why bother using ini format at all?
You probably mean that if you modify the ini file already added to the resource file that doesn't cause the resource file to be updated with the new content. I'd say this is normal and expected, I wouldn't expect make to read and parse my resource files upon every invocation. That would dramatically increase compilation time.
Visual Studio appears to take a different approach. If I edit a file included as a resource (like an icon, for example), the resource file (qrc) is recompiled next time around.I'd say this is normal and expected, I wouldn't expect make to read and parse my resource files upon every invocation.
It could be that Creator touches the qrc file whenever it saves a qml file belonging to the resource. This would cause make to rebuild it.
Bookmarks