Platform specific code in QtCreator
Qt Creator and other tools
3
Posts
3
Posters
3.3k
Views
1
Watching
-
wrote on 21 Nov 2010, 23:27 last edited by
Does anyone know if its possible to 'hide' platform specific code when viewing source code in QtCreator ? Sometimes it would be much more easy to read code if i could temporary hide all Q_OS_SYMBIAN and etc. code.
-
wrote on 22 Nov 2010, 09:09 last edited by
Code folding for #ifdef statements is a long standing feature request: "QTCREATORBUG-2":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2
So far we did not get round to implement it, but we would be happy to accept patches.
-
wrote on 25 Nov 2010, 14:18 last edited by
Code that is wrapped in ifdefs that are validating to true for the current build configuration are grayed out at least, if that already helps a bit. (I.e. Q_OS_SYMBIAN code is grayed out if you are building for e.g. Desktop)
1/3