[Qt-creator] Spell checker support

2012-03-27 Thread Cristian Adam
Hi, Visual Assist has this nice feature for Visual Studio called: Underline Spelling Errors . There is a bug report for QtCreator (Spell checking in comment blocks #1861 ),

[Qt-creator] C++ Refactoring Tools Test Suite

2014-06-23 Thread Cristian Adam
Hi, Richard Thompson has put together a C++ Refactoring Tools Test Suite , which he tests from time to time on popular

Re: [Qt-creator] Compiling fails to link *sometimes*

2014-07-09 Thread Cristian Adam
On 09.07.2014 18:01, Murphy, Sean wrote: > I've got an odd issue that happens sometimes with Qt Creator 3.1.1 on Windows > (Windows 7 64-bit if it matters...). When I go to compile my project, > sometimes it will error out saying something like "failing to create > myApp.exe, permission denied"

[Qt-creator] CMake icon in Qt Creator's Project Explorer

2014-09-17 Thread Cristian Adam
Hi, On Windows 7 Qt Creator displays a generic file text icon for CMakeLists.txt and *.cmake files. While reading CLion's FAQ I've noticed that they've used the well known CMake icon

Re: [Qt-creator] Recompile only one plugin

2015-01-26 Thread Cristian Adam
I have Visual Studio 2010 Express installed. stddef.h is installed here: "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stddef.h" One can get Visual Studio 2010 C++ Express from here: http://go.microsoft.com/?linkid=9709969 Cheers, Cristian. On Mon, Jan 26, 2015 at 9:18 AM, And

Re: [Qt-creator] Recompile only one plugin

2015-01-26 Thread Cristian Adam
Or even better Visual Studio 2010 Express with SP1: http://go.microsoft.com/fwlink/?LinkId=210710 Cheers, Cristian. On Mon, Jan 26, 2015 at 9:20 AM, Cristian Adam wrote: > I have Visual Studio 2010 Express installed. > > stddef.h is installed here: "c:\Program Files (x86)\Mi

Re: [Qt-creator] Qt Creator 3.4 binaries will be compiled with MSVC 2013 (dynamic opengl)

2015-03-17 Thread Cristian Adam
On Tue, Mar 17, 2015 at 10:04 AM, Peter Kuemmel wrote: > > > > What are the reasons for deploying with MinGW? :) > > > > Dropping MSVC at all because of the bad C++11/14 support ;) > > But I see, only reason not to drop is debugging. > > I would add better profile guided optimizations (PGO), whic

Re: [Qt-creator] NimPlugin: autocompletion

2015-05-22 Thread Cristian Adam
On 5/22/2015 11:02 AM, Filippo Cucchetto wrote: Thank you! Btw supposing i arrive at a good implementation of my plugin, is there a chance for it being integrated in the master branch? In other words, do you accept contributions for plugins for other languages? F. Or a central place where

Re: [Qt-creator] Add -j N option to make

2015-07-11 Thread Cristian Adam
Hello, Have you tried CMake and ninja? Ninja automatically uses more cores by default and if nothing changed in the project it immediately tells you that. I don't see any reason to use make anymore :) Cheers, Cristian. On Jul 11, 2015 13:41, "Alexandre LAURENT" wrote: > Hello, > > I am using

Re: [Qt-creator] ModelEditor plugin

2015-10-05 Thread Cristian Adam
On Mon, Oct 5, 2015 at 11:26 PM, Christian Gagneraud wrote: > > Random thoughts after using it for a real case: > - print support > - SVG export > - Support for "real" state machine (not activities) > > Thanks a lot for this wonderful plugin! > Krys > > The first two could be delegated to another

Re: [Qt-creator] Sensible make -j X?

2015-10-22 Thread Cristian Adam
On Oct 22, 2015 19:16, "Jason H" wrote: > > In this world, where both phones and computers are averaging 4 cores (or more) does it make sense to ever not default make to 1 thread? I can understand that some situations can't have multi-threaded builds, but I believe they are in the minority now. I

Re: [Qt-creator] Please change the postion of the build status indicator

2015-11-13 Thread Cristian Adam
On Fri, Nov 13, 2015 at 11:51 AM, NIkolai Marchenko wrote: > A while ago build status indicator was moved from the left side to the > lower right corner. > Where it is now, it is, more often than not, hidden behind notifications > from messaging applications and it is imposible to see build statu

Re: [Qt-creator] Clang Code Model Questions

2015-11-18 Thread Cristian Adam
On Tue, Nov 17, 2015 at 5:50 PM, Mike Jackson wrote: > > > On Oct 30, 2015, at 7:32 AM, Nikolai Kosjar < > nikolai.kos...@theqtcompany.com> wrote: > > > > Hi! > > > > On 10/21/2015 03:33 PM, Mike Jackson wrote: > >> I have been using the nightly builds of 3.5.1 and now 3.6.0 and it > >> seems the

Re: [Qt-creator] Clang Code Model Questions

2015-11-18 Thread Cristian Adam
On Wed, Nov 18, 2015 at 5:21 PM, Mike Jackson wrote: > > Global/Indexing Snapshot: 5938 documents > Current Editors Snapshot: 712 documents > > ClangBackend uses about 170 MB at peak > > How does it behave when you open Qt Creator's code? Global/Indexing Snapshot: 6900 documents Current Editor's

Re: [Qt-creator] Clang Code Model Questions

2015-11-18 Thread Cristian Adam
On 11/18/2015 6:10 PM, Mike Jackson wrote: The wait cursor does not appear when looking at the QtCreator code base at the file you specified. I could still type cppModelManager before the completion list would pop up for “cppModelManager”. Typing a “->” after that was about a 0.5 second delay

Re: [Qt-creator] Missing "Ninja" Generator Option when running CMake from QtCreator 3.6.0

2016-01-04 Thread Cristian Adam
See https://bugreports.qt.io/browse/QTCREATORBUG-15164 There I present a workaround – hacking the user file and setting "CMakeProjectManager.CMakeBuildConfiguration.UseNinja" to true. Cheers, Cristian. On Mon, Jan 4, 2016 at 5:25 PM, Mike Jackson wrote: > We are trying to use the latest QtCrea

Re: [Qt-creator] Use #pragma once as default instead of header guards

2016-01-13 Thread Cristian Adam
On Wed, Jan 13, 2016 at 12:29 PM, Christian Kandeler < christian.kande...@theqtcompany.com> wrote: > On 01/13/2016 11:55 AM, Bubke Marco wrote: > >> Hello >> >> With the clang code model there is a problem to generate a preamble file >> with header guards. Imaging a preamble file is like a automat

Re: [Qt-creator] Use #pragma once as default instead of header guards

2016-01-14 Thread Cristian Adam
On Thu, Jan 14, 2016 at 10:10 AM, Christian Kandeler < christian.kande...@theqtcompany.com> wrote: > On 01/13/2016 03:22 PM, Nikolai Kosjar wrote: > >> On 01/13/2016 01:52 PM, Joerg Bornemann wrote: >> >>> Still, as it came up, this argument raises the interesting question what >>> will happen to

Re: [Qt-creator] how execute make install

2016-01-20 Thread Cristian Adam
On Wed, Jan 20, 2016 at 3:15 PM, Freddy Martinez Garcia < freddy311...@gmail.com> wrote: > Hi guys... I'm trying to use Qt Creator with a cmake project because in my > job, our project is made it with KDevelop. So, I needto execute make > install everytime after build my project and I don't know h

Re: [Qt-creator] It's time to fix double redundant quotes

2016-03-09 Thread Cristian Adam
On Tue, Mar 8, 2016 at 11:10 PM, Jason H wrote: > A while back, I started a discussion about Creator's quoting policy. > There was a lot of support, and a few people were concerned about changing > the behavior that has been there since the beginning. > > However, I'm again tired of fighting with

Re: [Qt-creator] 4.0 doesn't clean nor rebuild in cmake projects

2016-03-27 Thread Cristian Adam
Delete your project's .user file and reload the project. Qt Creator should then work fine. Qt Creator creates a "clean" target for all projects. "cmake --target clean" should be the manual command in case you really need it. Cheers, Cristian. On Mar 27, 2016 18:10, "Nikos Chantziaras" wrote: >

Re: [Qt-creator] HowTo start Qt Linguist from External Tools with english language instead of current locale

2016-03-31 Thread Cristian Adam
Simply rename / delete linguist_de.qm from Qt5's translations directory. When the file is not found it falls back to English. Cheers, Cristian. On Thu, Mar 31, 2016 at 6:04 PM, ekke wrote: > I added an entry in QtCreator External Tools to start Qt Linguist from > there. > works well. > > But Q

Re: [Qt-creator] What's the QtC compiler version used for MS binary distribution?

2016-04-08 Thread Cristian Adam
Hi, Qt distros come with one Qt Creator version. It doesn't matter if you install 64 bit or MinGW, you get the same Qt Creator build. (it's way easier to test one version than n versions) In order to find out which version it is, you can go to Help -> About Qt Creator: [image: Inline image 1]

Re: [Qt-creator] Looking for Enums with Locator

2016-04-11 Thread Cristian Adam
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. __

Re: [Qt-creator] Searching for names in locator with starting letters as it is in code-completion

2016-04-14 Thread Cristian Adam
It seems this feature is quite popular. https://blog.forrestthewoods.com/reverse-engineering-sublime-text-s-fuzzy-match-4cffeed33fdb#.g53efw2j7 I'd love to have some fuzzy search in Locator. The other day I was searching after some class. Locator didn't help because I was not precise enough... C

Re: [Qt-creator] CMake daemon for user tools

2016-06-28 Thread Cristian Adam
On Tue, Jun 28, 2016 at 12:45 PM, Mathias Hasselmann < math...@taschenorakel.de> wrote: > Let me bring up this old topic again, but this common programming language > protocol reminded me of this CMake daemon: > > https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol > > Worth a

Re: [Qt-creator] QtCreator release and MSVC2015

2016-09-01 Thread Cristian Adam
On Thu, Sep 1, 2016 at 5:54 PM, Carel Combrink wrote: > Hi, > > Just out of a matter of interest, what are the plans to start building the > QtCreator that gets shipped with Qt (online/offline) on Windows with MSVC > 2015? Also any comment on a 64 bit version? > > Are there any reason why this no

Re: [Qt-creator] I have a suggestion

2016-09-16 Thread Cristian Adam
The idea is to use the width of the window more efficiently. Some people use a hardware hack, simply rotate the monitor in portrait mode :) Cheers, Cristian. On Fri, Sep 16, 2016 at 1:00 PM, Jesus Fernandez wrote: > No, no, look carefully at the screenshot: The last line in the left panel > i

Re: [Qt-creator] Qt Creator 4.3.0, Qt 5.9.0: problems with cmake support

2017-06-01 Thread Cristian Adam
> > 2. If I select the kit "Qt 5.9.0 (msvc2017-64), I get the following in > "General Messages": > > > > Running "C:\Program Files\CMake\bin\cmake.exe -E server > "--pipe=\\.\pipe\{cdb7ec38-096b-4a3d-9b84-fc91923889d4}" --experimental" > in C:\Users\mue\AppData\Local\Temp\QtCreator-P1XkOA\qtc-cmake

Re: [Qt-creator] CMake config failure == unfixable

2017-09-01 Thread Cristian Adam
On Fri, Sep 1, 2017 at 12:53 PM, Tobias Hunger wrote: > > Unfortunately I have no real cmake projects (apart from cmake itself;-) > that I routinely work on, so I do miss a lot of the finer details that pop > up when working with a tool daily. I really appreciate people taking the > time to tell

Re: [Qt-creator] Adjusting styles of QtCreator

2019-01-14 Thread Cristian Adam
Hi, On Linux I use the KDE Plasma desktop environment, which you might know uses Qt as it's UI toolkit. If you have a build of Qt Creator for KDE Plasma, either your own or from the distribution, you will have the Qt KDE theme being used to render the UI. You might find a KDE theme which might h

Re: [Qt-creator] Adjusting styles of QtCreator

2019-01-14 Thread Cristian Adam
On Mon, Jan 14, 2019 at 9:08 PM Michael Jackson wrote: > Interesting that the only solutions that I have heard is basically to > “change your entire desktop”. Clearly the scroll handles are being styled > through the .theme file because changing themes will restyle the scroll > handles/background

Re: [Qt-creator] RFC: Dropping support for Python 2.x for GDB/LLDB

2019-02-26 Thread Cristian Adam
On Thu, Feb 21, 2019 at 8:49 PM André Pönitz wrote: > > I am therefore pondering the idea of dropping support for Python 2.x, > and I'd like to gauge the potential heat such a move will draw. > > What do people see as output of the following: > > python --version > python3 --version >

Re: [Qt-creator] Clang code model issues

2019-03-27 Thread Cristian Adam
On Wed, Mar 27, 2019 at 2:35 PM Julius Bullinger wrote: > > I wanted to say thanks and congratulations for the changes to the clang > code model up until 4.9-rc1. I tested it quite intensively in the last > days, and it seems like most of the reported issues have been fixed. > It's still a tad sl

Re: [Qt-creator] Clang code model issues

2019-03-27 Thread Cristian Adam
On Wed, Mar 27, 2019 at 3:08 PM Cristian Adam wrote: > > I don't know if the 4.9-rc1 has fixed the Windows missing code model > debug messages, which you could use to find out how slow it is. > > https://codereview.qt-project.org/#/c/257262/ Hopefully 4.9 will have the f

Re: [Qt-creator] 4.9: gtest and cmake annoyance

2019-04-06 Thread Cristian Adam
Hi, Please uncheck the "Autorun CMake" checkbox in settings. See https://doc.qt.io/qtcreator/creator-project-cmake.html Cheers, Cristian. On Sat, Apr 6, 2019 at 2:53 AM Christian Gagneraud wrote: > Hi there, > > Using the latest 4.9 beta, i've noticed that each time i edit and save > a unit te

[Qt-creator] Building Qt Creator with CMake

2019-05-17 Thread Cristian Adam
Hi, I just pushed the submit button that brought Qt Creator CMake build files. In order to build it one needs to set the CMAKE_PREFIX_PATH CMake variable to the location where you have Qt and Clang installed (e.g. -DCMAKE_PREFIX_PATH=c:\Qt\Qt5.12.3\5.12.3\mingw81_64;c:\llvm) Qt Creator itself b

[Qt-creator] GitHub Actions as CI for Qt Creator

2020-02-21 Thread Cristian Adam
Hi, As you might know Qt Creator’s gerrit setup at the moment doesn’t include per commit CI checks. As a developer, if you change something you don’t actually know if your change compiles on all desktop platforms, or that th

Re: [Qt-creator] RFC: Dropping support for Python 2.x for GDB/LLDB #2

2020-02-27 Thread Cristian Adam
> > So: Does anyone know a concrete scenario that would be broken and not be > easily fixable when the debugger would change to require Python 3.x (x >= 4, > possibly 7)? > > > Andre' > QNX 7.0 comes with Python 2.7. But one can use https://github.com/python-cmake-buildsystem/python-cmake-bu

Re: [Qt-creator] Problem with Android SDK tools and platform SDK

2020-04-13 Thread Cristian Adam
Hi, I’ve put up a CMake script which when executed as cmake -P setup_android.cmake will download OpenJDK 8 and setup the Android SDK / NDK automatically. In the Android devices dialog set the “JDK Location” to the path to

Re: [Qt-creator] LLVM/Clang version (commit) used for particular Qt Creator version

2020-05-06 Thread Cristian Adam
You can use the https://code.qt.io/cgit/clang/llvm-project.git/log/?h=release_80-based branch. That was used to build LLVM 8.0 which is used in Qt Creator 4.12. No nice tag as with 4.10, it could have been an omission or due to the fact that LLVM moved to a mono repository. For Qt Creator 4.13

Re: [Qt-creator] Issue compiling for Android, compiler not found

2020-05-07 Thread Cristian Adam
> -Original Message- > From: Qt-creator On Behalf Of Murphy, > Sean > Sent: Wednesday, 6 May 2020 15:21 > To: qt-creator@qt-project.org > Subject: Re: [Qt-creator] Issue compiling for Android, compiler not found > > > this looks like https://bugreports.qt.io/browse/QTCREATORBUG-23829 > >

Re: [Qt-creator] LLVM/Clang version (commit) used for particular Qt Creator version

2020-05-07 Thread Cristian Adam
Yes. Use the last commit from the branch. Since the 4.10 tag only one commit was done for that branch. Cheers, Cristian. From: Andrzej Telszewski Sent: Thursday, 7 May 2020 21:33 To: qt-creator@qt-project.org Cc: Cristian Adam Subject: Re: [Qt-creator] LLVM/Clang version (commit) used for

Re: [Qt-creator] CMake support change in master branch

2020-06-09 Thread Cristian Adam
> > Hello everybody, > > I just pushed a patch to the master branch that changes how CMake projects are > handled. I expect this patch to still have some rough spots, so please avoid > to > update for a while if you want a polished experience, but I do hope for bug > reports and feedback about t

Re: [Qt-creator] Problem with CMake

2020-11-17 Thread Cristian Adam
Hi, Just select the checkbox for "[x] Auto-create build directories" in Qt Creator's CMake settings. For more information about CMake Project configuration have a look at: https://www.qt.io/blog/cmake-project-configuration-in-qt-creator-4.13 Cheers, Cristian. > -Original Message- > Fro

Re: [Qt-creator] SIGSTOP when trying to debug application in QTCreator running on an Ubuntu 18.04

2021-01-13 Thread Cristian Adam
On 13/01/2021 12:10, Richard Weickelt wrote: I am trying to debug my C++ code in QtCreator (version 4.13.1 based on Qt 5.15.1) which is running on an Ubuntu 18.04 virtual machine hosted on my Windows 10 using VirtualBox. As soon as I start the application in debug mode, I get the error: Is yo

Re: [Qt-creator] Unable to Compile QtCreator (4.15)

2021-02-23 Thread Cristian Adam
On 23/02/2021 16:03, Michael Jackson wrote: I have been trying for the last few days to compile QtCreator using the master branch. I finally had to pick some random commit from a few weeks back to get it to compile. I just tried the latest 4.15 branch and I get the following compiler error:

Re: [Qt-creator] Unable to Compile QtCreator (4.15)

2021-02-23 Thread Cristian Adam
On 23/02/2021 16:25, Michael Jackson wrote: Oh. Should I not be compiling those plugins? I liked having them around in earlier releases of QtCreator. On a related note is there a web site that shows the results of CI builds and their configurations? Or a place I can submit a build? Would that

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

2021-03-30 Thread Cristian Adam
On 30/03/2021 11:03, Christian Kandeler wrote: On 3/29/21 4:31 PM, Jason H wrote: I'm getting this message rom clazy in QtCreator, but I'm pretty sure &QTimer::timeout /is/ a signal? https://bugreports.qt.io/browse/QTCREATORBUG-25165 This should be fixed in Qt Creator 4.15 beta2.

Re: [Qt-creator] QtCreator Markdown Plugin

2021-04-12 Thread Cristian Adam
Hi, This plugin has a dependency on QtWebEngine, not because it needs to display html text, but because of the javascript libraries that are used to convert from markdown to html. A simple websearch after markdown and c++ pointed me to: https://stackoverflow.com/questions/889434/markdown-imp

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

2021-05-31 Thread Cristian Adam
On 31/05/2021 16:24, Daniel Brunner wrote: > I haven't seen any source file where autocompletion works. The verbose console output is always similar or the same. > > I also tried running clang-tidy and clazy from the debugging tab and it seems clang doesn't like some gcc compiler arguments for

Re: [Qt-creator] CMake configuration loop when using vcpkg

2021-08-30 Thread Cristian Adam
Hi Jakub, The infinite CMake loop bug is still not yet fixed. See https://bugreports.qt.io/browse/QTCREATORBUG-25346 for a similar vpkg report. The workaround that seems to work is unchecking "Autorun CMake" in Qt Creator settings. Cheers, Cristian. On 8/26/2021 6:32 PM, Jakub Narolewski

[Qt-creator] Windows devs building Qt Creator

2021-09-10 Thread Cristian Adam
Hi, With https://codereview.qt-project.org/c/qt-creator/qt-creator/+/362475 merged you will need to either delete all the *5.dll files from you build directory, or do a a clean build after getting newest changes from master b

[Qt-creator] No more "Link with Qt..." step for own Qt Creator builds

2021-09-10 Thread Cristian Adam
Hi, While building Qt Creator have you encountered the situation when your Kits and Qt versions would disappear? The fix would be to click /"Link with Qt..."/ in Options -> Kits -> Qt Versions. There is another way, when building Qt Creator from Qt Creator, the built Qt Creator could inher

Re: [Qt-creator] CMake configuration loop when using vcpkg

2021-09-15 Thread Cristian Adam
Hi Jakub, The bug is fixed in Qt Creator 5.0.1 <https://www.qt.io/blog/qt-creator-5.0.1-released>! Cheers, Cristian. On 8/30/2021 10:18 AM, Cristian Adam wrote: Hi Jakub, The infinite CMake loop bug is still not yet fixed. See https://bugreports.qt.io/browse/QTCREATORBUG-25346

Re: [Qt-creator] Project Organization from CMake

2022-04-05 Thread Cristian Adam
On 04/02/2022 18:28, Michael Jackson wrote: Does the latest QtCreator honor the cmake "source_group" organization from CMake files? We have these throughout our CMake code base and was hoping to have QtCreator honor those groupings? No biggie if it does not as we can just rely on the FileSystem v

Re: [Qt-creator] clangtools cpu load

2022-07-09 Thread Cristian Adam
Hi Björn, Try this patch: --- src/plugins/clangtools/clangtoolrunner.cpp +++ src/plugins/clangtools/clangtoolrunner.cpp @@ -67,6 +67,7 @@ void ClangToolRunner::init(const FilePath &outputDirPath, const Environment &env QTC_CHECK(!m_outputDirPath.isEmpty()); m_process.setEnvironme

Re: [Qt-creator] Plans to support WSL development

2022-12-23 Thread Cristian Adam via Qt-creator
Hi Carel, At WSLg and Qt Creator - Cristian Adam<https://cristianadam.eu/20221222/wslg-and-qt-creator/> I present that is possible to have Qt Creator running on Windows 11 with a similar look and feel for both Windows and Ubuntu 22.04 using "Windows Subsystem for Linux GUI (WSLg

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

2023-03-01 Thread Cristian Adam via Qt-creator
Hi, As a C++ developer you could actually fix something in Qt Creator. If it's something minor you can simply fork qt-creator on github, push to your fork and you'll get binaries created by GitHub Actions. There are not so many C++ IDEs written in C++, open source, and cross-platform! This was

Re: [Qt-creator] QtCreator 10 and CMakePresets

2023-04-03 Thread Cristian Adam via Qt-creator
Qt Creator 10 supports configure and build presets (no test presets) up to version 5. Any changes to the presets would require the deletion of the CMakeLists.txt.user file and the associated generated Kit presets. Currently there is no better way. Expect updates for the workflow in a future Qt

Re: [Qt-creator] QtCreator 10 and CMakePresets

2023-05-02 Thread Cristian Adam via Qt-creator
On 04/03/2023 22:37, Michael Jackson wrote: As a follow up to the below I have noticed that the command that QtCreator is using to configure the project is the following: Running /opt/local/cmake-3.25.3-macos-universal/CMake.app/Contents/bin/cmake -S /Users/mjackson/Workspace1/DREAM3DNX -B /U

Re: [Qt-creator] Just installed Qt Creator

2023-06-12 Thread Cristian Adam via Qt-creator
Hi, which build system did you choose when you created the test project? If it's CMake, make sure you have CMake installed, either via Qt SDK, winget install cmake, or downloaded from Download | CMake or Releases · Kitware/CMake (github.com)

Re: [Qt-creator] Need help building my plugin in GitHub

2024-04-05 Thread Cristian Adam via Qt-creator
Hi, qt-creator/src/libs/3rdparty/syntax-highlighting/CMakeLists.txt at v13.0.0 · qt-creator/qt-creator (github.com) show how the "State" header got included in the _dev package. The

Re: [Qt-creator] GDB is so slow whendebuggiong QtCreator

2024-06-21 Thread Cristian Adam via Qt-creator
Hi, At Qt Creator debugger, very slow | Qt Forum we have this piece of advice: echo "set index-cache on" >> ~/.gdbinit Or you can set the command in Preferences > Debugger > GDB > Additional Startup Commands. C