Re: [Qt-creator] How to change default parse context?

2024-01-24 Thread Christian Kandeler via Qt-creator
On 1/23/24 18:14, Andrzej Telszewski wrote: [You don't often get email from andr...@telszewski.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] On 23/01/2024 10:37, Christian Kandeler via Qt-creator wrote: On 1/23/24 09:20, Andrzej Telszewski wrote: I'm

Re: [Qt-creator] How to change default parse context?

2024-01-23 Thread Christian Kandeler via Qt-creator
On 1/23/24 09:20, Andrzej Telszewski wrote: I'm using _Imported_ project, which is a C one. Unfortunately, the _Active Parse Context_ for opened header files defaults to C++. In a pure C project, there should only be a single parse context. Most likely you do have some C++ sources in there.

Re: [Qt-creator] Using Qt 11.0.3 with VS22

2023-10-16 Thread Christian Kandeler via Qt-creator
On 10/13/23 21:44, Mark Brooks wrote: I decided to get going again and install the very latest Qt 11.0.3 and then run one of the templates (console apps) to start. It cant find any kit. Assume that it cant find VS22 which I have also installed. Which console app? If it's the Qt one, you also

Re: [Qt-creator] MakeStep

2023-08-21 Thread Christian Kandeler via Qt-creator
On 8/11/23 14:30, Knut Petter Svendsen via Qt-creator wrote: In my custom plugin, I've crafted a class, lets call it MyMakeStep which inherits from ProjectExplorer::MakeStep. This class requires specific settings from MySettings, a class that derives from Core::PagedSettings. However, I'm

Re: [Qt-creator] Performance of the editor (with clang-format)

2023-05-12 Thread Christian Kandeler via Qt-creator
On 5/11/23 22:35, Björn Schäpers wrote: If you use the clang-format plugin in every paint event of an editor the clang-format style is read, that explains the delay with the anti virus, it just has to check the .clang-format file if it is bad now... Thanks for the heads-up, we are on it.

Re: [Qt-creator] Name validation in rename symbol

2023-04-05 Thread Christian Kandeler via Qt-creator
On 4/4/23 08:14, Volodymyr Zibarov wrote: The new feature in Qt Creator 10 is name validation during renaming a symbol. The old behavior without the validation made possible to make refactoring tricks, like move variable into a struct, or replace public member usage with a get method. For

Re: [Qt-creator] Rename Symbol Under Cursor

2023-04-04 Thread Christian Kandeler via Qt-creator
On 3/29/23 18:39, Andy wrote: With the latest release (Qt Creator 10), when I "Rename Symbol Under Cursor" it's adding "_new" at the end of the replacement. 10.0.1 will not do this anymore. Christian -- Qt-creator mailing list Qt-creator@qt-project.org

Re: [Qt-creator] clangd + qtc vs clangd + any editor

2023-02-23 Thread Christian Kandeler via Qt-creator
On 2/23/23 06:38, Knut Petter Svendsen via Qt-creator wrote: I often get asked by my coworkers why I use qtcreator for general C++ development (non-Qt) when you can use clangd with "any" editor and get code completion, navigation, refactoring etc. Often they mention vscode and/or vim. Assuming

Re: [Qt-creator] The state of the clang-format plugin

2022-06-28 Thread Christian Kandeler
On 6/28/22 12:43, Nicolas Ulrich wrote: I just wanted to comment that I use "format instead of indenting" (still works, but I cannot turn it off anymore I guess) It can still be turned off, by selecting "indent only" in the combo box. It was confusing when I tried to tell new developers

Re: [Qt-creator] The state of the clang-format plugin

2022-06-28 Thread Christian Kandeler
On 6/25/22 10:58, Björn Schäpers wrote: in the days of yore you had 3 check marks for clang-format (still visible here https://doc.qt.io/qtcreator/images/qtcreator-code-style-clang-format.png). * Format instead of indenting * Format while typing * Format edited code on file save Nowadays the

Re: [Qt-creator] QT Creator 7.0.2 creating Kit throws error of "Compiler cannot produce code for Qt Version" on Windows Patform

2022-06-28 Thread Christian Kandeler
On 6/24/22 15:43, Rasool, Ansar wrote: I am trying to create a Kit in Qt Creator 7.0.2 from an SDK generated for x86_64 arch with mingw support on Windows Host. I'm having trouble parsing this. What is an "SDK generated for x86_64 arch with mingw support"? Upon adding qmake.exe file and

Re: [Qt-creator] Problems with older QtCreator.ini (was: Creator 7 & LLVM 15)

2022-02-21 Thread Christian Kandeler
On 2/12/22 22:21, Björn Schäpers wrote: Reinstalling msys and recompiling everything did not solve my problem. Then I remembered I once had a problem only on my laptop, not on my pc and my colleagues didn't either. There helped a fresh(er) QtCreator.ini. I tried the same, renamed the old one

Re: [Qt-creator] Creator 7 & LLVM 15

2022-02-11 Thread Christian Kandeler
On 2/11/22 12:03, Björn Schäpers wrote: - clangd says: Failed to retrieve clangd version: Unexpected clangd output. I cannot reproduce that.   From my console (doesn't matter if bash or cmd):   $ clangd --version   clangd version 15.0.0

Re: [Qt-creator] clangd parsing time

2021-11-10 Thread Christian Kandeler
On 11/10/21 15:13, Adam Light wrote: I don't use Linux so I can't test, but it seems that indexing is faster on Linux? I'm curious to know how long it takes to index Creator's sources, if you know. On my 4-core CPU (plus hyper-threading), I observe that clangd starts four worker threads,

Re: [Qt-creator] clangd parsing time

2021-11-09 Thread Christian Kandeler
On 11/8/21 19:57, Adam Light wrote: > I deleted all of the build directories for my project and then opened the project in Creator. After a few > seconds a "Parsing C/C++ files (clangd)" popup appeared with a progress bar and file count. It shows > that it needs to parse 3495 files. > After

Re: [Qt-creator] JSON project wizard - generating with Scanner

2021-09-14 Thread Christian Kandeler
On 9/1/21 5:11 PM, Marco Piccolino wrote: Hello, I'd like to add a whole subdirectory called "usecases" to a QC "project" JSON wizard template. The subdirectory is present in the local template folder, directly contained in the one that has wizard.json. I tried to add this right after the

Re: [Qt-creator] [SPAM] No clang code model support with esp-idf cmake framework

2021-06-11 Thread Christian Kandeler
ent topics, that will just confuse things. Your original problem was that the code model failed to parse your project; is this still the case after changing the setting as discussed earlier? clang-tidy errors are are a different issue. Christian Am Di., 1. Juni 2021 um 10:39 Uhr schrieb Christia

Re: [Qt-creator] [SPAM] No clang code model support with esp-idf cmake framework

2021-06-01 Thread Christian Kandeler
On 5/31/21 4:24 PM, Daniel Brunner wrote: I haven't seen any source file where autocompletion works. The verbose console output is always similar or the same. I assume in Tools->Options->C++->Code Model->Diagnostic Configuration, "Use diagnostic flags from build system" is enabled? What

Re: [Qt-creator] [SPAM] No clang code model support with esp-idf cmake framework

2021-05-31 Thread Christian Kandeler
On 5/30/21 10:40 PM, Daniel Brunner wrote: > I started working on a C++ microcontroller project with the ESP32 microcontroller and the esp-idf > framework. Before starting qtcreator and opening the firmware project, an environment setup script > needs to be sourced. > > The cmake run and

Re: [Qt-creator] Class wizard minor feedback

2021-05-12 Thread Christian Kandeler
On 5/11/21 5:52 PM, Jason H wrote: When choosing a base class in the class wizard, combo box entries are duplicated. These entries come from the locator. If you do "Ctrl-k c", do you also see these different entries for QThread? If so, how do they differ? Christian

Re: [Qt-creator] Capture Application Output via Plugin

2021-05-06 Thread Christian Kandeler
On 5/6/21 4:23 PM, Daniel Engelke wrote: I want to process the application output (find errors during runtime, stats, etc.). The “from” is an external plugin implementing ExtensionSystem::IPlugin. Step 1: Subclass Utils::OutputLineParser and override the handleLine() function. This gives

Re: [Qt-creator] Fonts duplicated in translation list?

2021-04-06 Thread Christian Kandeler
On 4/5/21 10:56 PM, Jason H wrote: When in the project wizard, and you say yes to translations, and it asks you to pick them, some are (seemingly) duplicated. https://bugreports.qt.io/browse/QTCREATORBUG-7106 ___ Qt-creator mailing list

Re: [Qt-creator] QTimer::timeout is not a signal?

2021-03-30 Thread Christian Kandeler
On 3/29/21 4:31 PM, Jason H wrote: I'm getting this message rom clazy in QtCreator, but I'm pretty sure ::timeout /is/ a signal? https://bugreports.qt.io/browse/QTCREATORBUG-25165 Christian ___ Qt-creator mailing list Qt-creator@qt-project.org

Re: [Qt-creator] Request advices for Qt Creator plugin developers to adopt API changes easily

2021-02-15 Thread Christian Kandeler
On 2/15/21 8:52 AM, Jakob Lettenbichler wrote: The reason for that is, that upgrading from 4.0 to 4.4 took the whole team several weeks to finish (so about 2 man-months) I'm pretty sure the accumulated effort for keeping in sync would be much lower. Christian

Re: [Qt-creator] How do you debug QtCreator

2020-12-08 Thread Christian Kandeler
> if you really need to debug on Windows, use a MSVC build of Creator, > that is times faster than a MinGW build. > However, the best experience is still on Linux. I should note here that as a Linux guy I keep being pleasantly surprised by how fast the debugging is on Windows whenever I try it

Re: [Qt-creator] clang-tidy and clang-diagnostic-*

2020-12-08 Thread Christian Kandeler
> clang-diagnostic-* is not part of that dialog Because it's not in the list of supported checks that we retrieve from the executable. Perhaps we should simply force-disable these checks, based on the assumptions that the genuine ones will be triggered by the code model and/or compiler anyway.

Re: [Qt-creator] Suggestions for 'new class' dialog

2020-12-08 Thread Christian Kandeler
> What where the arguments against a separate namespace field? Nested namespaces come to mind. Christian ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator

Re: [Qt-creator] Find references of virtual functions?

2020-09-14 Thread Christian Kandeler
On Fri, 11 Sep 2020 20:59:51 + "Murphy, Sean" wrote: > Say I've got a class inheritance design like so: > > class Abstract > { > virtual void foo() = 0; > } > > class Base : public Abstract > { > virtual void foo(); > } > > class Child : public Base > { > virtual void foo()

Re: [Qt-creator] Adjusting Color of error messages

2020-09-14 Thread Christian Kandeler
On Fri, 11 Sep 2020 11:27:15 -0400 Michael Jackson wrote: > Christian, >Thanks for the help. Looks like setting those colors has an interaction > with some sort of alpha blending? I'm unable to get "bright" colors. I tried > just setting pure RED or pure GREEN but all are "muted" when

Re: [Qt-creator] Adjusting Color of error messages

2020-09-11 Thread Christian Kandeler
On Wed, 02 Sep 2020 09:19:17 -0400 Michael Jackson wrote: > In the latest QtCreator I use a pure black background for the C++ editor. > When there are errors in my code to the right of the editor the error message > will show up but the issue is that the red color is very dark and hard to >

Re: [Qt-creator] Has anyone got the new custom parsers running?

2020-08-07 Thread Christian Kandeler
On Fri, 7 Aug 2020 14:02:06 +0200 André Hartmann wrote: > I've created a project with a main.cpp like that: > > #include > > int main() > { > printf("main.cpp:5: Hello World\n"); > return 0; > } > > Running that gives me the following Application Output: > > 13:49:52: Starting

Re: [Qt-creator] Has anyone got the new custom parsers running?

2020-08-07 Thread Christian Kandeler
On Fri, 7 Aug 2020 09:01:25 +0200 André Hartmann wrote: > To my understanding, I can use the parsers to catch patterns in the > Compile and Application output and bring them to the Issues tab. Correct. > However, I didn't manage to do that with Qt Creator 4.13-rc2 (from > Online Installer),

Re: [Qt-creator] Fwd: Remote debugging - Compiler set

2020-07-07 Thread Christian Kandeler
On Tue, 7 Jul 2020 16:16:56 +0530 Vidhya Arun wrote: > Sure, will check this. > May I know how this Qt version can be reset ? It works the same way as for toolchains. See QtSupport::QtKitAspect. Christian ___ Qt-creator mailing list

Re: [Qt-creator] Fwd: Remote debugging - Compiler set

2020-07-07 Thread Christian Kandeler
On Tue, 7 Jul 2020 15:55:53 +0530 Vidhya Arun wrote: > Yes the code is not working anymore. > When I execute my plugin all I see is like the screenshot given below where > the compiler field is set to either null or just 'GCC' [ Refer only > Compiler C: ], as C++ is manually set now So "GCC"

Re: [Qt-creator] Fwd: Remote debugging - Compiler set

2020-07-07 Thread Christian Kandeler
On Tue, 7 Jul 2020 15:39:33 +0530 Vidhya Arun wrote: > Below is the code used which worked fine with earlier versions: > > ToolChain *tc = new > ProjectExplorer::GccToolChain(ProjectExplorer::Constants::C_LANGUAGE_ID); > ProjectExplorer::ToolChainManager::registerToolChain(tc); >

Re: [Qt-creator] Remote debugging with GDB-multiarch not sending command line arguments

2020-07-03 Thread Christian Kandeler
On Thu, 2 Jul 2020 12:17:09 -0300 Pablo Rogina wrote: > again, by looking at the Application Output pane I don't see how that would give you that information; we've already established that gdb passes the arguments to the application at a later point. Have you added debug code into your

Re: [Qt-creator] Remote debugging with GDB-multiarch not sending command line arguments

2020-07-02 Thread Christian Kandeler
On Thu, 2 Jul 2020 09:37:51 -0300 Pablo Rogina wrote: > I see. I'm not familiar with GDB/MI mode so that could be the right > approach then, but the end result at least for me is that the > arguments don't reach the remote program under debug Again, how do you know that? Christian

Re: [Qt-creator] QtC 4.12.1 vs MSVC 16.6

2020-06-29 Thread Christian Kandeler
On Wed, 27 May 2020 09:29:11 +0200 wrote: > I have trouble using MSVC 16.6 with QtC 4.12.1. The QtC does not detect it > automatically and when added manually it does not work either. I cannot reproduce this. Auto-detection works fine here, and the resulting toolchain can be used to build

Re: [Qt-creator] Remote debugging with GDB-multiarch not sending command line arguments

2020-06-29 Thread Christian Kandeler
On Sun, 28 Jun 2020 20:18:49 -0300 Pablo Rogina wrote: > However, if I intend to do debugging (F5) using gdb-multiarch > everything starts Ok but the command line arguments from the run > configuration aren't used How do you know that? Christian ___

Re: [Qt-creator] Segfault in libQbsProjectManager

2020-05-12 Thread Christian Kandeler
On Wed, 13 May 2020 00:00:15 +1200 Christian Gagneraud wrote: > On Tue, 12 May 2020 at 19:41, Иван Комиссаров wrote: > > > > This looks like https://bugreports.qt.io/browse/QTCREATORBUG-23924, but I > > could not reproduce that ever since. > > > > If you can provide steps that reproduce that,

Re: [Qt-creator] Trouble running/debugging with qtcreator-4.12

2020-05-05 Thread Christian Kandeler
On Tue, 5 May 2020 19:56:02 +1000 Marc Reilly wrote: > The "Add build library search path" option was already checked, but I also > noticed the "Run in terminal" option was also checked ... unchecking this > allowed the program to run. > So, I'm guessing that its something to do with launching

Re: [Qt-creator] Trouble running/debugging with qtcreator-4.12

2020-05-05 Thread Christian Kandeler
On Tue, 5 May 2020 18:18:11 +1000 Marc Reilly wrote: > When trying launch (run or debug) a program from QtC 4.12 it does not start > the program, I just get a message in the console saying it is starting. > Earlier versions launch the same project fine .. > > If I launch QtC from the command

Re: [Qt-creator] Displaying the user environment changes

2020-02-26 Thread Christian Kandeler
On Wed, 26 Feb 2020 17:07:49 +0100 Markus Redeker wrote: > On Wed, 26 Feb 2020 11:37:28 + > Christian Kandeler wrote: > > > Retrieve the environment aspect from the build config via > > aspect() and call setUserEnvironmentChanges() on that > > object. > &

Re: [Qt-creator] Displaying the user environment changes

2020-02-26 Thread Christian Kandeler
On Wed, 26 Feb 2020 11:17:50 +0100 Markus Redeker wrote: > I am currently working on a plugin that changes the build environment > settings of a project with > BuildConfiguration::setUserEnvironmentChanges(). That function is intended to update the environment *from* the widget, i.e. the

Re: [Qt-creator] Another 4.11 issue

2020-02-20 Thread Christian Kandeler
On Thu, 20 Feb 2020 15:44:23 +0100 "Jason H" wrote: > I think we all know I've been using QtC for years. So I think I know what I'm > doing. But maybe I'm going insane? I have been under a lot of pressure lately. > > Anyway, I add a C++ class to my project by right Clicking in Projects pane,

Re: [Qt-creator] Annoyance with 4.11

2020-02-19 Thread Christian Kandeler
On Wed, 19 Feb 2020 11:01:32 +1300 Christian Gagneraud wrote: > But my point was quite simple: > QtC 4.11 is broken, and has been released untested (or was knowingly > buggy), it doesn't seem to be anywhere near release quality (or i'm > really unlucky). This sounds quite hyperbolic,

Re: [Qt-creator] Sourcing env

2019-12-11 Thread Christian Kandeler
On Wed, 11 Dec 2019 11:03:27 +0100 Paweł Rutka wrote: > I have problem that before run of executable in qtcreator i have to source > env from file to set ld lib Path. Do you really have to? What kind of project is that? For some build systems, we offer a button that does this automatically. >

Re: [Qt-creator] Creator parsing too much (and incorrectly) qmake files?

2019-12-03 Thread Christian Kandeler
On Tue, 3 Dec 2019 16:49:05 +0100 "Olivier B." wrote: > I encountered an issue with QtCreator after a minor modif of my project file > > I added in a pri include file a few lines that look like : > SOME_VAR = $$files($$SOME_OTHER_VAR/*, true) > > That particular pri file is included under a

[Qt-creator] Deprecation warnings

2019-11-08 Thread Christian Kandeler
Hi, with recent Qt versions, we are getting these annoying warnings when building Qt Creator: src/libs/utils/tooltip/tips.cpp: In function ‘int Utils::Internal::screenNumber(const QPoint&, QWidget*)’: src/libs/utils/tooltip/tips.cpp:304:51: warning: ‘bool QDesktopWidget::isVirtualDesktop()

Re: [Qt-creator] How to control font in compile output

2019-10-25 Thread Christian Kandeler
On Fri, 25 Oct 2019 10:45:33 -0400 Michael Jackson wrote: > QtCreator 4.10.1. How to set the font and font size in the compile output > (and probably the application output also). I am on Windows and the compile > output font is rather large. Not “stupid huge” which would be the case if my >

Re: [Qt-creator] Set up kits on the fly from Profile item in Qbs

2019-08-12 Thread Christian Kandeler
On Mon, 12 Aug 2019 11:32:24 +0200 (CEST) "Richard Weickelt" wrote: > I am using Conan to manage project dependencies in a complex project (bare > metal, not Qt). > I let it generate a qbs file containing a Profile item with all necessary > module configurations. My top-level project file

Re: [Qt-creator] Qt for Python / deploy to Remote Linux Target

2019-05-22 Thread Christian Kandeler
On Tue, 21 May 2019 15:47:46 -0300 Pablo Rogina wrote: > > Your first post indicates you already know the answer: Setting the INSTALLS > > variable. If you tell us what exactly you did there, we will probably be > > able to spot the problem. > > 1. New Project / Application / Qt for Python -

Re: [Qt-creator] Qt for Python / deploy to Remote Linux Target

2019-05-20 Thread Christian Kandeler
On Fri, 17 May 2019 16:06:30 -0300 Pablo Rogina wrote: > > > INSTALLS variable but it didn't work either > > > > That description is a bit vague. What didn't work and how? > > The deployment mechanism is generic. There is nothing special about Python > > files. > > Let's try again. Having a

Re: [Qt-creator] Qt for Python / deploy to Remote Linux Target

2019-05-17 Thread Christian Kandeler
On Thu, 16 May 2019 14:40:36 -0300 Pablo Rogina wrote: > So far I've tried 2 things: > 1. created a Python project in Qt Creator but I'm not currently able > to get the list of files to deploy populated. I used a .pro file with > INSTALLS variable but it didn't work either That description is a

Re: [Qt-creator] Custom wizard vs qmake's wizards

2019-04-30 Thread Christian Kandeler
On Tue, 30 Apr 2019 12:02:24 +1200 Christian Gagneraud wrote: > Christian, any thoughts on adding this capability to Qbs core API? Sure, that was the idea all along. We just didn't get around to do it. > How hard is it to handle adding/removing references? Modifying the project file is easy.

Re: [Qt-creator] Custom wizard vs qmake's wizards

2019-04-29 Thread Christian Kandeler
On Mon, 29 Apr 2019 11:49:36 +0200 Eike Ziller wrote: > The build system selection in the wizard is not shown if it was triggered > from “New Subproject...”. Yes, it is. I just checked. Christian ___ Qt-creator mailing list

Re: [Qt-creator] Custom wizard vs qmake's wizards

2019-04-29 Thread Christian Kandeler
On Mon, 29 Apr 2019 18:34:09 +1200 Christian Gagneraud wrote: > > If I register a new "Qbs.AddLibrary" action, i end up with duplicates > > in the context menu (qmake disabled, and qbs enabled), if instead if > > fetch the "Qt4.AddLibrary" and enable it, i get the (qmake) "Add > > library

Re: [Qt-creator] Dealing with python projects

2019-04-24 Thread Christian Kandeler
On Wed, 24 Apr 2019 21:45:56 +1200 Christian Gagneraud wrote: > Thanks a lot for the tip. I'll have to investigate further. > The python project i'm working on is django based [1], and it requires > me to run a particular script ("./manage.py runserver"), *in the > source directory*, within a

Re: [Qt-creator] Dealing with python projects

2019-04-24 Thread Christian Kandeler
On Wed, 24 Apr 2019 12:49:19 +1200 Christian Gagneraud wrote: > So I recently switched to using Qbs. It currently allows me to > organise my python files, and QtCreator is happy with this "broken" > qbs project (broken=cannot be built). > One interesting feature is that i can configure QtC to

Re: [Qt-creator] Problems with 4.9 beta

2019-03-07 Thread Christian Kandeler
On Tue, 5 Mar 2019 19:58:17 +0100 Jason H wrote: > 2. I was adding some classes (3) via context menu ("Add New... ") and the > entire menu became disabled aside from "Close all files in project XXX" and > "Close project XXX". Some time later they became available again. (Attached) Presumably

Re: [Qt-creator] Deploy Unit Test

2018-12-20 Thread Christian Kandeler
On Thu, 20 Dec 2018 09:43:02 +0100 Daniel Ro wrote: > Is it possible to deploy googletest executables to a remote device by using > the "Test" view (e.g. by clicking on "Run All Tests"? > > The deployment should be configured correctly in my case, because after > clicking "Run" or "Start

Re: [Qt-creator] Using self compiled Qbs with self compiled QtCreator

2018-12-17 Thread Christian Kandeler
On Sun, 16 Dec 2018 11:08:18 +0100 Björn Schäpers wrote: > I try to use self compiled Qbs and QtCreator on Windows (MinGW not MSVC, no > msys > or cygwin). I'm using a separate Qbs checkout, not the one delivered with > QtCreator. > > My first problem was while compiling QtCreator the linker

Re: [Qt-creator] Linking error when building 4.7.2

2018-10-25 Thread Christian Kandeler
On Thu, 25 Oct 2018 11:53:58 +0200 Davide Coppola wrote: > Unchecking "Enable Qt Quick Compiler" did the trick, thanks a lot. > > Just out of curiosity, is this going to skip the build of some components > of Qt Creator? No. The Qt Quick compiler is just an optimization method for QML code

Re: [Qt-creator] Linking error when building 4.7.2

2018-10-25 Thread Christian Kandeler
On Thu, 25 Oct 2018 10:33:54 +0200 Davide Coppola wrote: > I can't manage to build 4.7.2 (after checking out the git tag) because of > the following linking error: > > lib/qtcreator/libqbsqtprofilesetup.so: undefined reference to > `QQmlPrivate::qmlregister(QQmlPrivate::RegistrationType,

Re: [Qt-creator] Creator is confused about device state

2018-10-11 Thread Christian Kandeler
On Thu, 11 Oct 2018 17:09:04 +0200 Jason H wrote: > Thank you! > > I'm trying to do this, but: > $ export QT_LOGGING_RULES=qtc.ios.*=true Qt\ Creator.app/Contents/MacOS/Qt\ > Creator > -bash: export: `Qt Creator.app/Contents/MacOS/Qt Creator': not a valid > identifier > > $ export

Re: [Qt-creator] Error message: "QLM module not found (...)"

2018-09-05 Thread Christian Kandeler
On Wed, 5 Sep 2018 11:24:16 +0300 Карелин Павел wrote: > Please tell me how to get rid of the error message: "QLM module not > found (...)" Qbs files are currently handled by the normal QML parser, which has no knowledge about qbs imports. For the moment, we should probably just exclude this

Re: [Qt-creator] [Qbs] qbs project file parser

2018-05-28 Thread Christian Kandeler
On Mon, 28 May 2018 00:39:29 +0530 sanjay chopra wrote: > I am thinking of writing a plugin for qtcreator which shows assembly output > of ource at the time of editing(like godbolt.org), I am using qbs as build > system. Qbs can have different build setting(compiler

Re: [Qt-creator] How to use qbs AutotestRunner from QtCreator?

2018-04-20 Thread Christian Kandeler
On Fri, 20 Apr 2018 13:16:47 + "Budde, Jan" wrote: > I'm learning qbs using QtCreator 4.6.0. I have created a simple > example project consisting of a library, a unit test and a sample > application as sub-projects. I have marked the unit test C++ > application as being of

Re: [Qt-creator] Migration from QtCreator 4.5 to 4.6

2018-04-11 Thread Christian Kandeler
On Wed, 11 Apr 2018 12:15:40 +0300 Карелин Павел wrote: > I decided to go over from QtC 4.5 to 4.6. I myself build QtC 4.6 of > gitrev: dc358dc841b8ca84237de3fbadb1939801981d1a Why are you using some random pre-release state? That makes little sense. If you build yourself,

Re: [Qt-creator] how can i use clang-cl with qt creator under Windows?

2018-03-08 Thread Christian Kandeler
On Wed, 7 Mar 2018 20:17:08 +0100 Dennis Luehring wrote: > my current setup is > > QtCreator 4.4.1 (or 4.5 if needed), Qbs, Qt 5.6x and Visual Studio 2015 > as my C/C++ x64 Compiler > > my project can be compiled, linked, debugged - everything is working > > an after

Re: [Qt-creator] Using Qt Creator for legacy ObjectiveC++ project

2018-03-06 Thread Christian Kandeler
On Tue, 6 Mar 2018 06:18:56 +0100 Henry Skoglund wrote: > One more question: for all the Xcode bashing, I find the Analyze compile > command in Xcode more powerful/finding more stuff than the Analyze/Clang > Static Analyzer in Qt Creator. For example, if I have this simple

Re: [Qt-creator] Remote linux debugging requires SSH (any reason?)

2017-12-18 Thread Christian Kandeler
On Mon, 18 Dec 2017 08:51:43 -0500 Adam Treat wrote: > Remote linux debugging and QNX debugging require an SSH connection. SSH is our interface to connect to a device for the purpose of deploying files and starting applications. In the case of debugging, the started

Re: [Qt-creator] How to make QtCreator to connect to a remote device (generic linux) with X forwarding enabled `ssh -X`?

2017-12-18 Thread Christian Kandeler
On Mon, 18 Dec 2017 11:56:45 +0200 Иван Кувалдин wrote: > I develop a cross-platform Qt application with GUI. It works fine on host > system in both x32 and x64 variants. Next is to deploy the application on a > remote i386 host. It works fine there too. But when I run the app on

Re: [Qt-creator] [Qbs] Qtc+Qbs+git wroktree = cannot lock build graph

2017-12-12 Thread Christian Kandeler
On Tue, 12 Dec 2017 10:03:58 +1300 Christian Gagneraud wrote: > Not sure if it's a Qtc or a Qbs issue, but here is my problem: > I'm using git worktrees, which means i have the same project checked-out > on different branches in different sibling directories, the main qbs >

Re: [Qt-creator] Disabling auto-reload of qbs files

2017-11-22 Thread Christian Kandeler
On Wed, 22 Nov 2017 17:27:11 +1300 Christian Gagneraud wrote: > When i work with QtC and qbs, and i need to tweak my qbs files, Qtc > auto-reload my project each time I save a qbs file, which in my case > means ca. 1 minute of un-usability. First of all, that seems too long.

Re: [Qt-creator] Link errors when building on linux

2017-10-26 Thread Christian Kandeler
On Thu, 26 Oct 2017 10:08:29 -0500 Frank Miller wrote: > I'm not much of a qmake user so I don't really know what I'm doing. I'm > building qt-creator against a build of qt installed in $prefix and in > order to get it to work I had to call qmake like this: > >

Re: [Qt-creator] Link errors when building on linux

2017-10-26 Thread Christian Kandeler
On Wed, 25 Oct 2017 22:06:10 -0500 Frank Miller wrote: > I'm new to qt-creator and would like to build from the source on linux > but I am experiencing a curious linker error. I get the same error on > the 4.3, 4.4, 4.5, and master git branches. The error message looks

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread Christian Kandeler
On Mon, 16 Oct 2017 18:57:19 +0200 Elvis Stansvik wrote: > I'm working on some tests for my own application, and started thinking > about unit testing of private parts of shared libraries (think the > _p.h/_p.cpp parts). Such parts are normally not exported AFAIK (in the >

Re: [Qt-creator] [Qbs] Linux 32 bits build on x86_64 host

2017-09-09 Thread Christian Kandeler
I don't have a Creator checkout at hand, but the problem is probably that we fail to pass the target architecture to qbs, which then uses the compiler default. Workaround: Set qbs.architecture to "x86" in the qbs-specific part of the Kit settings. Can you please file a bug report?

Re: [Qt-creator] build qt-creator using qbs

2017-07-14 Thread Christian Kandeler
On Thu, 13 Jul 2017 22:14:31 +0200 Jochen Becher wrote: > I get a lot of "Dependency Qt.core not found for product ...". Please file a bug report. We can continue the probing for more information there. Christian ___

Re: [Qt-creator] remote debugging

2017-07-10 Thread Christian Kandeler
On Mon, 10 Jul 2017 14:03:19 + Ernst Maurer wrote: > I was using remote debugging for a long time but now is a first X11 project, > X11 forwarding works fine (in command line) , > but not in qt creator. > X11Forward option exist in ~/.ssh/config > but seems qt creator

Re: [Qt-creator] build qt-creator using qbs

2017-07-10 Thread Christian Kandeler
On Sat, 8 Jul 2017 11:08:26 +0200 Jochen Becher wrote: > After long time I plan to add some new features to the modeling tool. > Adding new files I wondered if qbs can still be used to build Qt > Creator. But loading the qtcreator.qbs gives me hundreds of error > messages

Re: [Qt-creator] QT Creator bare metal debugging on windows

2017-02-20 Thread Christian Kandeler
On 02/17/2017 09:13 PM, Marcel wrote: > I am using qt creator a few years now for bare-metal project with lots of > fun. I used it on linux and on the mac with succes. Lately I have to use > windows. Unfortunately I have a problem with debuggen. When I use openocd > with a stm32f3discovery and

[Qt-creator] https://www.heise.de/security/meldung/Nach-Grossstoerung-bei-der-Telekom-heise-Security-bietet-TR069-Test-3507134.html

2016-11-29 Thread Christian Kandeler
___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator

Re: [Qt-creator] [Development] [FYI] on gerrit change retargeting requests

2016-09-06 Thread Christian Kandeler
On 09/06/2016 11:46 AM, Konstantin Tokarev wrote: > 06.09.2016, 12:44, "Oswald Buddenhagen" : >> On Mon, Sep 05, 2016 at 09:17:59PM +, J-P Nurmi wrote: >>> On 05 Sep 2016, at 19:27, Marc Mutz wrote: >>> > It's not about restricting what a user

Re: [Qt-creator] Proposal: Adding std::(experimental::)optional

2016-08-26 Thread Christian Kandeler
On 08/26/2016 05:54 PM, Tobias Hunger wrote: >> If zero is a >> valid address in some environment, then it's the compiler's job to >> ensure that the null pointer maps to something else at runtime. > > I highly doubt that: 0 is a valid address, so the compiler can not > just go ahead and map it

Re: [Qt-creator] Building Qt Creator and QBS separately

2016-05-03 Thread Christian Kandeler
On 05/03/2016 02:58 AM, Andrzej Telszewski wrote: > (Note: Qt Creator hardcodes "lib" when looking for plugins, so you > cannot set QBS_LIBRARY_DIRNAME to anything else.) > You're correct on that one. I traced down where the "lib" is hardcoded and wrote a small patch to deal with that. Now

Re: [Qt-creator] Building Qt Creator and QBS separately

2016-04-26 Thread Christian Kandeler
On 04/25/2016 07:54 PM, Andrzej Telszewski wrote: I have now built QBS with: qmake-qt5 qbs.pro \ QBS_LIBRARY_DIRNAME=lib$LIBDIRSUFFIX \ What is $LIBDIRSUFFIX? QMAKE_CXXFLAGS="$SLKCFLAGS" \ QBS_INSTALL_PREFIX=/ \ CONFIG+=qbs_enable_project_file_updates make make docs make install

Re: [Qt-creator] Building Qt Creator and QBS separately

2016-04-25 Thread Christian Kandeler
On 04/23/2016 04:40 PM, Andrzej Telszewski wrote: I tried building QBS with: qmake-qt5 qbs.pro \ QBS_INSTALL_PREFIX=/usr \ QBS_LIBRARY_DIRNAME=lib$LIBDIRSUFFIX You also need "CONFIG+=qbs_enable_project_file_updates" here if you want Qt Creator to build against this qbs later. and

Re: [Qt-creator] CMake in QtC 4.0 [ex Qt Creator 4.0 soft-branched]

2016-03-08 Thread Christian Kandeler
On 03/08/2016 03:48 PM, Alexander Drozdov wrote: I think, that compilers for the langs, supported by the QtC should be detected too. Otherwise: we can create C project via wizard but can't point C compiler. Not a good (is it problem solved for Qbs, qmake and how?). It's an unsolved problem.

Re: [Qt-creator] Clang Code Model: add -Wno-padded

2016-03-04 Thread Christian Kandeler
On 03/03/2016 10:22 PM, Andrzej Telszewski wrote: I do think that having this kind of information is useful, but in my opinion -Wno-padded should be default, and turning on the warning should be left to those who need it. I personally added -Wno-padded to the clang model settings. Say you have

Re: [Qt-creator] Can't build a QBS project with QtCreator

2016-01-21 Thread Christian Kandeler
On 01/21/2016 03:46 AM, Yaroslav Kishchenko wrote: Hi guys, looking for help with qbs and qt creator. Can't build any project, even generated by qt creator itself. The reason it cannot find "qbs.Enviroment". But when I copy paste equivalent command line from project settings, it works. That

Re: [Qt-creator] Qt Creator 3.6.0. Unable to compile bare metal QBS

2015-12-16 Thread Christian Kandeler
On 12/16/2015 11:23 PM, Raivis wrote: Hi Everyone, I just updated to the new Qt Creator 3.6.0 to test out the new features. I've been happily using the old Qt Creator with QBS to develop for ARM microcontrollers mixing C++ and C together. Unfortunately, my bare metal project stopped working

Re: [Qt-creator] unnamed namespace and internal linkage

2015-09-22 Thread Christian Kandeler
On 09/22/2015 01:12 PM, Lorenz Haas wrote: > our coding style states that > > "Use static keywords instead of anonymous namespaces whenever > possible. A name localized to the compilation unit with static is > guaranteed to have internal linkage. For names declared in anonymous > namespaces, the

Re: [Qt-creator] Debug on Remote *Windows* Device using MinGW

2015-03-03 Thread Christian Kandeler
On 03/02/2015 09:53 PM, Denis Shienkov wrote: Hi all. I want to debug a remote Windows device, using the MinGW. The both HostOS and Target OS is Windows. I know about the option Attach to Remote Debug Server in QtCreator, but this option is unaceptable to me, because I has not a direct

Re: [Qt-creator] [QBS] Programatically creating kits, profiles and toolchains.

2015-02-25 Thread Christian Kandeler
On 02/25/2015 12:04 PM, Tim Hutt wrote: I'm trying to help people set up Qt Creator with a GCC ARM Embedded kit for compiling mBed programs. It's not too difficult but it is a bit annoying for newbies to have to follow a tutorial to set up a compiler. Is there any way to make this simpler?

Re: [Qt-creator] Enable verbose build output

2015-01-29 Thread Christian Kandeler
On 01/29/2015 06:20 AM, Andrii Anpilogov wrote: I need to see whole build output when I compile QBS project. So far Qt Creator filters some messages (for example. printed by print() function). Creator doesn't filter these messages, they are just hardwired to go to the console. I also can't

Re: [Qt-creator] Disable QBS project caching

2015-01-21 Thread Christian Kandeler
I'm tuning to move my codebase to qbs and qt creator. I've noticed that if I generate any property that belongs to Product in .qbs file by JS script it's going to be cached by QtCreator. The only one way to force reload the cache is change something in the .qbs file. Simple example is:

Re: [Qt-creator] Proposals for Updating the Qt Creator Coding Style

2014-10-02 Thread Christian Kandeler
On 10/01/2014 04:21 PM, Daniel Teske wrote: ** Qt5 connects vs Qt4 connects - Prefer to use qt5 style connects with member function pointers to the qt4 style of using SIGNAL and SLOT macros. - Avoid overloading signals or slots - Avoid calling connect via object-connect() Can you elaborate

Re: [Qt-creator] Qt-creator configuration on Wandboard-solo with Yocto -Problem

2014-08-05 Thread Christian Kandeler
On 08/05/2014 09:42 AM, Nilesh Kokane wrote: If anyone can help me to sought out the this issue to built up Qt on wandboard-Solo with yocto. There probably is someone, if you ask at the right mailing list: inter...@qt-project.org. This one is for the Qt Creator IDE. Christian

  1   2   >