Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.4.0
-
OS:
{quote}
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
{quote}
Qt Creator:
{quote}
Qt Creator 4.4.0
Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
Built on Sep 4 2017 04:10:58
From revision 60b8712a42
{quote}
cmake:
{quote}
cmake version 3.7.2
{quote}OS: {quote} Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenial {quote} Qt Creator: {quote} Qt Creator 4.4.0 Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit) Built on Sep 4 2017 04:10:58 From revision 60b8712a42 {quote} cmake: {quote} cmake version 3.7.2 {quote}
Description
in cmake, when we create an option like so
option(ENABLE_EXPERIMENTAL_FEATURE "Enable experimental feature" OFF)
it creates a check box in the project settings.
And if we go into projects settings toggle that checkbox and click on 'Apply Configuration Changes' , but turns out that we made a silly mistake in our cmake (failing during the generation phase), we won't be able to un-toggle that checkbox. Clicking on 'Apply Configuration Changes' does nothing. You will be literally stuck there. Closing and Reopening the project won't fix it. nuking the build location entirely won't fix it.
I finally discovered that closing QtCreator and then deleting CMakeLists.txt.user from the source folder, which is generated by QtCreator, is the only way to get us out of this predicament.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-19010 There is no way to remove environment variable from project properties
- Closed