Re: [Qt-creator] Fwd: can't parse cmake project
On 31.03.2020 17:04, Tobias Hunger wrote: On Tue, Mar 31, 2020 at 3:42 PM Gena Bug wrote: Yep, that is indeed what I want. The use-case is next: framework with several related but indepented projects share some common libraries/tools. There is no primary target thus none is build by default, a user must explicitly define which one to build. So there are targets, it is just that none is built by default? Do you have to set some CMake "BUILD_TARGET_FOO" variables and the target definitions are hidden in an "if (BUILD_TARGET_FOO)...endif()"? Yep, that's right. Best Regards, Tobias . ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] Fwd: can't parse cmake project
On 3/31/20 3:37 PM, Tobias Hunger wrote: Hi there! Qt Creator is correct in that there are no targets defined anywhere in the reply CMake generated. You seem to expect that: So is that indeed something you intended to do? What is the use-case you have here? Creator treats this case as an error since I could not imagine that any CMake project would do this, but I learn something new about CMake every day, so I might have been wrong with that assumption. Yep, that is indeed what I want. The use-case is next: framework with several related but indepented projects share some common libraries/tools. There is no primary target thus none is build by default, a user must explicitly define which one to build. Best Regards, Tobias On Tue, Mar 31, 2020 at 1:12 PM Gena Bug wrote: Hi, Tobias, QtC prints "Invalid codemodel file generated by CMake: No targets.". Indeed, by default there is no targets defined, however I expect to see a list of variables on the Project pane. Running QtC cmake-command manually and then cmake-gui at this folder gives me the list. . ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] Fwd: can't parse cmake project
Hi, Tobias, QtC prints "Invalid codemodel file generated by CMake: No targets.". Indeed, by default there is no targets defined, however I expect to see a list of variables on the Project pane. Running QtC cmake-command manually and then cmake-gui at this folder gives me the list. On 3/30/20 8:46 PM, Tobias Hunger wrote: Sorry, I somehow lost the mailing list in my reply: -- Forwarded message - From: Tobias Hunger Date: Sun, Mar 29, 2020 at 7:19 PM Subject: Re: [Qt-creator] can't parse cmake project To: Gena Bug CMake 3.16 will ise file-api. On Sat, Mar 28, 2020, 16:55 Gena Bug wrote: By default (i.e. call cmake w/o args) the project doesn't add any target to build. Could that be the problem? The esasiest way to test this is to just copy the commands creator runs into a terminal amd try them that way. Then you will know for sure whether or not that is the problem. Are there files in .cmake in your build directory? File-api mode should have created some files in folders below that. They are in json and semi-readable, so you might want to check whether the information in those files makes sense for your project. Feel free to mail them to me if you are comfortable with sharing that information. Best Regards, Tobias ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator <> ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] can't parse cmake project
By default (i.e. call cmake w/o args) the project doesn't add any target to build. Could that be the problem? On 3/27/20 10:25 PM, Tobias Hunger wrote: Hi! On Fri, Mar 27, 2020, 16:26 Gena Bug via Qt-creator < qt-creator@qt-project.org> wrote: Hi! The latest beta (4.12b2) can't parse a cmake project. The problem may be with the project itself -- it's not "modern cmake". However I can configure the project with cmake gui/terminal. How can I find the concrete problem which causes qtc fail parsing it? Which version of cmake are you using? Creator comes with several ways to interact with cmake, so this is a important piece of information. For best results I would recommend to use a current cmake with file-api. None of these way parses your actual cmake files, so it *should* not matter what is in there. Best Regards, Tobias ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] can't parse cmake project
On 3/27/20 10:25 PM, Tobias Hunger wrote: Hi! On Fri, Mar 27, 2020, 16:26 Gena Bug via Qt-creator < qt-creator@qt-project.org> wrote: Hi! The latest beta (4.12b2) can't parse a cmake project. The problem may be with the project itself -- it's not "modern cmake". However I can configure the project with cmake gui/terminal. How can I find the concrete problem which causes qtc fail parsing it? Which version of cmake are you using? Creator comes with several ways to interact with cmake, so this is a important piece of information. For best results I would recommend to use a current cmake with file-api. 3.16.3 from debian testing repo. QtC from the web-site. None of these way parses your actual cmake files, so it *should* not matter what is in there. Best Regards, Tobias ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
[Qt-creator] can't parse cmake project
Hi! The latest beta (4.12b2) can't parse a cmake project. The problem may be with the project itself -- it's not "modern cmake". However I can configure the project with cmake gui/terminal. How can I find the concrete problem which causes qtc fail parsing it? ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
[Qt-creator] window resizes when start debugging
Hi! I've noticed a new behavior in 4.8.1 -- when starting a debug session the window is automatically widened to show you the variables in a current scope. But it doesn't restore to the previous width after you finish the debugging. Is it a bug or intended behavior? If last is true then how can I turn it off? Debian testing amd64 with KF5, QtC 4.8.1 for linux x86_64, downloaded from the official site. ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] Requesting repository for Haskell support in Qt Creator
YES!YES!!YES!!! Thank you! I'll definitely try it asap! On 06.10.2017 09:57, Eike Ziller wrote: Description: Support for the Haskell programming language Currently includes 1) code highlighting 2) informative tool tips in the editor and follow symbol 3) simplistic .cabal project support and build and run configurations where 2+3 currently require you to use Hakell Stack, and 2 requires ghc-mod Responsible: Eike Ziller Repository: qt-creator/plugin-haskell Existing code: https://github.com/e4z9/qtcreator-haskell ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
[Qt-creator] 3.6rc1 can't change errors underline
Hi! Noticed that 3.6rc1 marks syntax errors by single underline, not wavy, no matter what is set in color scheme... QtC for linux x86_64 in debian testing. ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] problem with the keyboard shortcuts in KF5
On 08/18/2015 08:53 AM, BogDan Vatra wrote: On Monday 17 August 2015 13:08:46 Gena Bug wrote: On 14.08.2015 16:58, Orgad Shaneh wrote: בתאריך 14 באוג׳ 2015 4:53 אחה״צ, Gena Bug archaero...@mail.ru כתב: Hello! After I switched to plasma 5 I noticed that Alt-shortcuts (and may be others) stopped working. For example, to get svn diff for the current file I press Alt+S, Alt+D. That worked before upgrading to plasma 5 however now this combination (Alt+S to be precise) starts debugging session instead of showing me the diff. Did anybody notice the same behaviour? __ Yes. Alt+R triggers Run (in addition to the default Ctrl+R), and Alt+G triggers Back (like Alt+Left). The last one is really annoying, since it is a prefix for all Git actions which I use a lot. ... And Alt+S triggers Debugging which is the prefix for all Subversion actions. But where is the root of the problem -- in qtc, in qt5 or in kf5? How can it be fixed? You need to add: [Development] AutoCheckAccelerators=false to ~/.config/kdeglobals (not to ~/.kde/share/config/kdeglobals). Thank you! Now shortcut combinations work! Cheers, BogDan. ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] problem with the keyboard shortcuts in KF5
On 14.08.2015 16:58, Orgad Shaneh wrote: בתאריך 14 באוג׳ 2015 4:53 אחה״צ, Gena Bug archaero...@mail.ru כתב: Hello! After I switched to plasma 5 I noticed that Alt-shortcuts (and may be others) stopped working. For example, to get svn diff for the current file I press Alt+S, Alt+D. That worked before upgrading to plasma 5 however now this combination (Alt+S to be precise) starts debugging session instead of showing me the diff. Did anybody notice the same behaviour? __ Yes. Alt+R triggers Run (in addition to the default Ctrl+R), and Alt+G triggers Back (like Alt+Left). The last one is really annoying, since it is a prefix for all Git actions which I use a lot. ... And Alt+S triggers Debugging which is the prefix for all Subversion actions. But where is the root of the problem -- in qtc, in qt5 or in kf5? How can it be fixed? - Orgad ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
[Qt-creator] problem with the keyboard shortcuts in KF5
Hello! After I switched to plasma 5 I noticed that Alt-shortcuts (and may be others) stopped working. For example, to get svn diff for the current file I press Alt+S, Alt+D. That worked before upgrading to plasma 5 however now this combination (Alt+S to be precise) starts debugging session instead of showing me the diff. Did anybody notice the same behaviour? ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
[Qt-creator] problem with welcome screen in 3.5rc1
Hi! Dunno if it's a bug in qtc or in KF5, but with 3.5rc1 Welcome screen on my debian testing amd64 with plasma5 is solid black. I tested on the two machines -- one with nvidia and one with intel graphics -- and both aren't working. ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] code navigation with mouse
On 26.08.2014 11:02, Nikolai Kosjar wrote: Hi! Hi! On Mon, 25. Aug 15:42, Gena Bug wrote: In 3.2.0 code navigation with mouse pointer and pressed Ctrl doesn't work as before, in 3.1.2 for example. After placing cursor at a variable/function IDE immediately jumps to its definition, without left clicking as it was in previous versions. Is it a bug or feature. For me it looks like a bug. Looks like a bug. I assume you run the two creator versions at the same time or at least in the same desktop environment? If not, please ensure that your desktop environment or window manager doesn't play along. For example, some shortcuts won't work if you use Ubuntu's unity since that depends / recommends some problematic *ibus* packages. So try to use another environment in order to rule this out. Seems the reason was semi-upgraded KDE env on my machine. I can't reproduce the bug anymore after full upgrade. Sorry. Report your findings at https://bugreports.qt-project.org/ . Nikolai ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
[Qt-creator] code navigation with mouse
Hi, In 3.2.0 code navigation with mouse pointer and pressed Ctrl doesn't work as before, in 3.1.2 for example. After placing cursor at a variable/function IDE immediately jumps to its definition, without left clicking as it was in previous versions. Is it a bug or feature. For me it looks like a bug. P.S. debian testing amd64, qtcreator 3.2.0 downloaded from download.qt-project.org ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] Unable to get C++ context help when using Clang libC++ headers
On 07.03.2014 14:54, Adam Strzelecki wrote: Hi, Hi! I don’t know it you are aware about that, but once you install C++ help from: http://en.cppreference.com/w/File:qch_book_20140208.zip F1 context help is working only when using GCC and libstdc++ headers, either on Linux or on Mac using my own build of GCC. For me it doesn't work even with gcc and libstdc++ (debian testing amd64, qtc 3.0.1 from the qt-project.org). F1 just opens main page of the help... When I use it with Clang’s libc++ I always get help now found on for example std::vector or std::string methods. Any clue what may be causing such behavior? Best regards, ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator
Re: [Qt-creator] Can indentation be project specific?
Projects (on sidebar) - Code Style Settings -|- Gena. On Fri February 10 2012 12:51:04 Harri Pasanen wrote: It seems to me that indentation setting and code style is global in Qt Creator 2.4.1 This is a bit annoying as I jump between projects with different settings for code style. Am I missing a setting somewhere? Harri ___ 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