Re: [Qt-creator] Looking for Enums with Locator
it seems that there is support for enum declaration... but not for enum values (not yet?) ... if you have enum Type{ KeyPress }; with the locator (:) you will find : Type ... but not : KeyPress... but auto completion for KeyPress should work in your code ... of course... :)... cheers Jan QtC -> the best all time IDE! ... eclipse, VS ... what? ... ;) Am 12.04.2016 um 01:12 schrieb Prav: Hi, Cristian. Try ? KeyPress I had to give more explanations ... sorry. I was thinking about finding enums (mine in first place but Qt's too ... all enums) in the code ... ( there is no help for my enums ;) ) ... and was wondered why I don't get them with locator. I want to find out is this a bug or I miss something about locator? ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] Looking for Enums with Locator
Hi, Cristian. > Try > ? KeyPress I had to give more explanations ... sorry. I was thinking about finding enums (mine in first place but Qt's too ... all enums) in the code ... ( there is no help for my enums ;) ) ... and was wondered why I don't get them with locator. I want to find out is this a bug or I miss something about locator? ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] Where can I find a list of Creator's variables?
Hi Nikos, Currently only manually set. There is no clean solution to point C compillers for qmake, qbs too from the QtC kit. 2016-04-11 22:57 GMT+10:00 Nikos Chantziaras : > I have the issue of Creator using clang++ to build C++ sources, and GCC to > build C sources. I am trying to fix this, but for the life of me I can't > find a reference of Creator's variables anywhere. > > In the kit that uses Clang, Creator uses this in the "CMake Configuration" > field: > > CMAKE_CXX_COMPILER:STRING=%{Compiler:Executable} > > That's nice. But CMAKE_C_COMPILER is not set, so I get a mixed Clang/GCC > build. %{Compiler:Executable} is obviously the C++ compiler. What is the C > compiler? What do I write here: > > CMAKE_C_COMPILER:STRING=%{???} > > ___ > Qt-creator mailing list > Qt-creator@qt-project.org > http://lists.qt-project.org/mailman/listinfo/qt-creator > -- WBR, Alexander Drozdov http://htrd.su ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] Looking for Enums with Locator
On Mon, Apr 11, 2016 at 9:41 PM, Prav wrote: > Does anyone know how to find things like > > QEvent::KeyPress with help of QtC locator? > > I am trying > : KeyPress > and gets nothing found :( > Do I miss something? > > Try: ? KeyPress Cheers, Cristian. ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
[Qt-creator] Looking for Enums with Locator
Does anyone know how to find things like QEvent::KeyPress with help of QtC locator? I am trying : KeyPress and gets nothing found :( Do I miss something? ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] Where can I find a list of Creator's variables?
Am 11.04.2016 18:13 schrieb "Nikos Chantziaras" : >> There is nothing:-/ >> >> Qt Creator has one compiler per kit and assumes that to be a C++ compiler. Until >> we change that there is just no information on additional C compilers (or >> whatever other language you want to use). Without that information there is >> nothing that can be added to kits automatically. > > > Ah, OK. So using a hard-coded path is the only choice here. You can do dirty hacks along the line of setting %{JS: '%{Compiler:Executable}'.replace('g++', 'gcc').replace('clang++', 'clang')} (completely untested!!!) That is waaay too much of a hack to do by default... but it might work for you. Best Regards, Tobias ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] Where can I find a list of Creator's variables?
On 11/04/16 17:58, Hunger Tobias wrote: On Mo, 2016-04-11 at 15:57 +0300, Nikos Chantziaras wrote: I have the issue of Creator using clang++ to build C++ sources, and GCC to build C sources. I am trying to fix this, but for the life of me I can't find a reference of Creator's variables anywhere. I just added a button to list them all to the CMake Configuration dialog opened by the kit options page. Great! What do I write here: CMAKE_C_COMPILER:STRING=%{???} There is nothing:-/ Qt Creator has one compiler per kit and assumes that to be a C++ compiler. Until we change that there is just no information on additional C compilers (or whatever other language you want to use). Without that information there is nothing that can be added to kits automatically. Ah, OK. So using a hard-coded path is the only choice here. ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] Where can I find a list of Creator's variables?
On Mo, 2016-04-11 at 15:57 +0300, Nikos Chantziaras wrote: > I have the issue of Creator using clang++ to build C++ sources, and GCC > to build C sources. I am trying to fix this, but for the life of me I > can't find a reference of Creator's variables anywhere. I just added a button to list them all to the CMake Configuration dialog opened by the kit options page. > In the kit that uses Clang, Creator uses this in the "CMake > Configuration" field: > > CMAKE_CXX_COMPILER:STRING=%{Compiler:Executable} > > That's nice. But CMAKE_C_COMPILER is not set, so I get a mixed Clang/GCC > build. %{Compiler:Executable} is obviously the C++ compiler. What is the > C compiler? What do I write here: > > CMAKE_C_COMPILER:STRING=%{???} There is nothing:-/ Qt Creator has one compiler per kit and assumes that to be a C++ compiler. Until we change that there is just no information on additional C compilers (or whatever other language you want to use). Without that information there is nothing that can be added to kits automatically. Best Regards, Tobias -- Tobias Hunger, Senior Software Engineer | The Qt Company The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
[Qt-creator] Where can I find a list of Creator's variables?
I have the issue of Creator using clang++ to build C++ sources, and GCC to build C sources. I am trying to fix this, but for the life of me I can't find a reference of Creator's variables anywhere. In the kit that uses Clang, Creator uses this in the "CMake Configuration" field: CMAKE_CXX_COMPILER:STRING=%{Compiler:Executable} That's nice. But CMAKE_C_COMPILER is not set, so I get a mixed Clang/GCC build. %{Compiler:Executable} is obviously the C++ compiler. What is the C compiler? What do I write here: CMAKE_C_COMPILER:STRING=%{???} ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator