Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
Qt Creator 2.6.0-beta
-
None
-
Windows 8 RTM
Description
Steps to reproduce
- Pathway 1
- Delete everything in C:\Users\ [username]\AppData\Roaming\Nokia\qtcreator\codestyles\Cpp
- Open Creator 2.6.0-beta
- Copy the "Qt [built-in]" style, give it any name, edit it
- Restart Qt Creator
- Try to import C:\Users\ [username]\AppData\Roaming\Nokia\qtcreator\codestyles\Cpp\qt2.xml
- Pathway 2
- Copy an XML code-style file from Qt Creator 2.5.2 into C:\Users\ [username]\AppData\Roaming\Nokia\qtcreator\codestyles\Cpp
- Open Qt Creator 2.6.0-beta
- Export the style from #2.1 into C:\tmp
- Try to import C:\tmp\ [filename].xml
Results
Step #1.4: My edited style is no longer available in the Code style menu
Step #2.2: My old style is available in the Code style menu
End of both pathways: Error message, "Cannot import code style from %1"
Other observations
- The XML format from Creator 2.6.0-beta is different from Creator 2.5.2
- Unlike the files from Creator 2.5.2, "qt2.xml" does not contain the DisplayName variable (i.e. the style name is not saved)
- The effects of this bug are similar to
QTCREATORBUG-6952but it probably has a different root cause
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-7867 C++ code style resets after restart of Qt Creator
-
- Closed
-