qt-creator Questions

1

Suppose I am creating the following function: double f(double const& x) { return x + x; } This is how I like to place the const modifier, not like const double. However, Qt Creator automatic...
Broider asked 28/4, 2015 at 19:16

1

As a code quality checker, That would be nice if I can see modified lines since the last commit highlighted. There is an option in Tools menu that you can diff your current working directory with t...
Stature asked 1/5, 2018 at 7:59

3

I am trying to create a GUI in QTCreator using Python but whenever I try to edit the code on a button I get the following error. I have tried rebuilding the project multiple times and I am still...
Fang asked 25/2, 2021 at 13:56

3

I'm a beginner in working with CGAL libraries , I tried to run a combinatorial map example qt-creator on fedora after combiling CGAL: #include <QCoreApplication> #include <CGAL/Combinato...
Afterdeck asked 15/7, 2018 at 18:22

6

I am using Qt on Ubuntu. When I debug I only see the very first value of the array in Locals and Watchers. How can I view all the array contents? struct node { int *keys; void **pointers; int n...
Irwinirwinn asked 23/9, 2011 at 19:25

4

I have been searching a lot on this but of no use. Is there any shortcut to copy an entire line with a keyboard shortcut in QT creator? I have seen shortcut for cutting a line but that's not what i...
Stclair asked 23/9, 2011 at 20:30

10

How do I know which version of Qt I am using? When I open Qt Creator it shows "Welcome to Qt Creator 2.3". In the build setting, however, it shows Qt Version 4.7.1.
Titania asked 14/4, 2014 at 11:18

12

Solved

Installed just the IDE on Windows 7. I want to create a Plain C++ Project (Non-QT Project); however I get an error: No valid kits found. When I click on Options->Kits, I see the Desktop (default) k...
Nucleoside asked 22/10, 2014 at 2:27

4

Solved

How to check if a program is running, by its name, with Qt (C++). Will QProcess::pid do the job? I don't know how to use it. Please suggest.
Shortage asked 29/11, 2012 at 20:5

5

Solved

I use QT Creator on surface pro4 and the font of menu is too small: what should i do to change the font size? version:5.5
Kristofor asked 29/3, 2017 at 14:17

3

Solved

I have a very weird problem. Ive got a an Ubuntu 14.04 running on VirtualBox 4.3.20 r96997. I installed QT Creator a while back and was working with it fine until today. Now when I try to start it,...
Scutt asked 4/2, 2015 at 15:28

3

Solved

Whenever I make a Qt project, the qmake command includes this parameter: CONFIG += qml_debug I never use QML and don't want to manually click three times and ignore the warning every time I genera...
Chan asked 20/7, 2018 at 4:3

8

Solved

Is there something similar to explicit code regions for folding in Qt Creator: #pragma region Region_1 void Test() {} void Test2() {} void Test3() {} #pragma endregion Region_1 I can see folding...
Quinlan asked 2/7, 2012 at 14:7

2

I'm looking for anything, like plugin to qt-creator to highlight unused/dead code in c++. Or maybe there is a standalone gui tool for this. I'm using cmake based project. Thanks in advance!
Googolplex asked 22/4, 2016 at 20:31

13

Solved

This happens even on a freshly created, empty project. The Run (and also Debug) buttons are disabled for the Qt5 configuration (they're enabled for the Qt4 configuration). The build button is not ...
Holliehollifield asked 2/6, 2014 at 17:9

4

My Qt project uses shadow build. When I change in MainWindow form ( .ui file), I build the project but my program doesn't update GUI. If I rebuild all, GUI will be updated. But rebuild is very very...
Involucrum asked 30/3, 2015 at 8:40

3

Solved

I'm a newbie in Qt and not that much experienced in C++ either. I created simple Qt GUI app, but then I had to add the mousepressevent function on a QLabel type object, so I created the class whic...
Champac asked 27/8, 2013 at 17:23

4

Solved

main question: Is there a configuration for cmake, to show or ignore compiler warnings/errors only from a certain directory? alternative solution: How can I toggle this in QtCreator? background /...
Recumbent asked 28/2, 2013 at 10:39

3

I am trying to configure the "Run Settings" on Qt Creator 3.0.1. I would like to set the value of many environment variables by sourcing a shell script 'myScript'. However, Deployment's Custom Pro...
Selfabsorption asked 14/5, 2015 at 20:28

11

Solved

I would like to divide my Qt project into several directories because it is growing pretty large. However, when I click on browse in QtCreator, there is no 'Add directory' and no such thing in 'Add...
Hocuspocus asked 24/7, 2009 at 9:44

6

Solved

I want to setup Qt Creator (3.0) in a way, that I can debug into the Qt classes. So I download the corresponding src code (http://gitorious.org/qt/qt5) and install it in a directory (e.g. c:\Qt5\sr...
Kosher asked 30/1, 2014 at 23:4

4

Solved

I can add headers to the header path but how can I bring in external headers to be available within Qt Creator for editing in project, so they appear in the file list like other headers created fro...
Kbp asked 9/10, 2013 at 5:17

3

Solved

I want to change the braces coding style in Qt Creator 2.7.1. Currently, it is: void bar(int i) { static int counter = 0; counter += i; } But I want to change it to: void bar(int i) { static...
Mussorgsky asked 24/7, 2013 at 18:25

8

Solved

In QtCreater I added a table to my project. in my code I am generating some data to output into the table. I want to add a QCheckbox into each row to allow the row to be selected. All the content o...
Lauder asked 13/2, 2013 at 6:42

3

Solved

I have installed open source qt creator (free version) and creating very simple desktop application. I am able to create simple window but when I am running I am getting following error: I have tri...
Biographical asked 26/7, 2021 at 11:3

© 2022 - 2025 — McMap. All rights reserved.