Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.0.0-rc1
Description
1. Open examples/quick/demos/samegame/samegame.qmlproject from qtdeclarative in Qt Creator
2. add the environment variable QSG_VISUALIZE=overdraw.
3. Start the application in normal mode. Notice that overdrawing doesn't happen.
4. Start the application in debug mode and notice that the overdraw variable does take effect and a 3d representation of the scene is overlaid on top of the application.
Environment variables should be passed to the application, no matter what run mode is chosen.
The same also happens with other environment variables, most notably LD_LIBRARY_PATH, which gives more severe problems, but is not as easily reproducible.
Attachments
For Gerrit Dashboard: QTCREATORBUG-16126 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
156496,2 | QmlProject: Set environment when creating a runnable | 4.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |