Multi-platform RESOURCE issue
-
I am using Qt Creator to work on a multi-platform project (Windows, Linux, iOS). Currently, I am building it for iOS Simulator. I have the following line in my main .pro file:
RESOURCES += qml.qrc
When I build the program for iOS, I see the following:
xcodebuild[11058:265169] warning: The file reference for "<path>/qml.qrc" is a member of multiple groups ("Supporting Files" and "Resources"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.
A quick Google search indicated that this is due to my including "qml.qrc" in the RESOURCES list. Removing it, however, introduces a new problem, this time a fatal one:
qrc:/main.qml:-1 File not found
Is there a better way to do this to satisfy all platforms or should I just accept the warning and move on?
-
Hi,
AFAIK, that warning won't affect your project. It seems that's something already signaled here