Results 1 to 1 of 1

Thread: Code Style settings are not being followed

  1. #1
    Join Date
    Jul 2016
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Code Style settings are not being followed

    In Qt Creator, the Code Style settings under the Pointers and References tab seem to have no effect. This shows up when I have the IDE automatically fill out the parameter list of a previously prototyped function.

    For instance, this bit of code which follows the style settings:
    void sortDataStack(DataStack* const data)

    becomes this:
    void sortDataStack(DataStack * const data)

    The settings in ~/.config/QtProject/qtcreator/codestyles/Cpp/qt2.xml match those set in the program. I'm using Qt Creator 3.6.1. Does anyone have any ideas? Is it worth filing a bug or is version 3 no longer maintained?

    EDIT: I just tried it in Qt Creator 4.0.2 and the problem still exists.
    Last edited by mqduck; 5th July 2016 at 21:52.

Similar Threads

  1. Qwtplot style settings
    By tangtao_xp in forum Qwt
    Replies: 2
    Last Post: 29th May 2013, 15:36
  2. Qt Creator Change code style for C++
    By htroyo in forum Qt Tools
    Replies: 3
    Last Post: 14th September 2012, 23:12
  3. Replies: 2
    Last Post: 24th August 2011, 09:45
  4. Qt Style Sheet Vs Code
    By Ashutosh2k1 in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2011, 06:45
  5. Style Sheet Settings between WindowsXP, Vista, Windows7
    By mlheese in forum Qt Programming
    Replies: 0
    Last Post: 15th March 2011, 18:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.