How to get Qt Creator to work with CDB?

I'm using Qt Creator 2.01 32-bit with Qt 4.7.1 on Windows 7 64-bit. I compiled my Qt library using Microsoft Visual C++ 2010. Now I want to use CDB with Qt Creator (or GDB if that works, or...

How to detect memory leaks in QtCreator on Windows?

How can I detect memory leaks in QtCreator on Windows? On the doc, they recommend Memcheck but it only works on Mac and Linux. Any suggestion for Windows?

File not found during compilation

What is wrong with the code bellow? When I compile it I get a warning that file not found. Something is invalid. I'm probably making a few mistakes here. I think the problem is perhaps with...

How do I display local HTML in QWebview?

I suspect this is so basic that no one bothered to document it. I want to write an HTML file from my program, and then load that file into a QWebview object. When I have QtCreator open, I can...

Building with MOC files using GYP instead of QMake?

By removing the moc generation step from QMake I no longer have to rely on QtCreator. At the moment I am using a custom script to generate/update Qt moc files before generating makefiles via GYP...

Create and run an application on pandaboard using Qt

I am looking to create an application using Qt on an x86 Ubuntu Dist, and I want to create the application for an ARM7 Pandaboard. I have been in contact with the technical staff at Qt, which...

qtcreator examples not enabled

I installed qtcreator on a Ubuntu 11.10 sudo apt-get install qtcreator the versions installed are: QT Creator 2.2.1, QT 4.7.3 When i start qtcreator, to explore QT C++ examples the button is...

In Qt Creator, examples are missed

Installed Qt Creator 2.8 in ArchLinux Installed qt5-* (* as every related package) using pacman examples were not available in the repositories so I used the one in the AUR, qt5-examples examples...

Compiling own QtCreator Plugin fails

I'm trying to create my own QtCreator Plugin by following this guide. So I cloned this repo and checked the v2.8.1 tagged commit out (c3ed746c). Then I copied my QtCreator 2.8.1 directory and...

how to select different version of QT -- to compile project -- Linux environment

I am having two version of QT library installed on my PC QT5.1 which is installed by default with the QT SDK. Other version i am having is QT-4.8.5 . Now when ever i create new project it is...

JumpList won't work using QWinJumpList

I have following code in main.cpp: QApplication a(argc, argv); QWinJumpListItem wjli(QWinJumpListItem::Link); wjli1.setArguments(QStringList(QString("as"))); wjli1.setDescription("Some...

How to use existing QMake project (.pro project file) as "external project" in CMake?

Is there a concise doc or example for how to use an existing QMake project with .pro project file as an "external project" in CMake? This can somewhat be done in qtcreator by marking one project...

Qt5 QML module is not installed

I'm confused about modules in Qt QML. I've read all the docs, but it doesn't make clear some basic ideas. I understand that i can put a bunch of QML files into a directory and add a qmldir file to...

QT Creator doesn't start on Ubuntu 16.04.1 LTS

I am new to QT, and familiar with Linux/Ubuntu. I installed: sudo apt-get install build-essential sudo apt-get install qtcreator sudo apt-get install qt4-default sudo apt-get install qt4doc sudo...

What could make dynamic_cast start throwing std:bad_cast even if invoked on pointers?

I'm experiencing a very weird behaviour. Was unable to isolate the problem in a MCVE, but will when I'll progress on my investigation. I have a program, based on CPPUNIT library and Qt that runs...

Why imbue with boost::posix_time::time_facet with std::cout redirection ends up throwing bad_cast?

I have a test program, based on CPPUNIT library and Qt that runs ~900 unit tests. This program is deployed on Android using QtCreator. It links with ~80 libraries, each one defining some...

Can't use c++17 features using g++ 7.2 in QtCreator

I have recently updated gcc and g++ to version 7.2. I would like to try out std::experimental::any and std::variant in particular, and I am using Qt 5.9.1 in QtCreator. So far I have written this...

QML - How do I make the TabButtons in TabBar visible?

I'm using qtcreator 4.4.1 with qt 5.9.2-1 on linux I'm trying to create a tabbar with a stackview so that I can switch between the different tabs. But the tabbuttons in the tabbar never show up,...

How to run QML StateMachine example from Qt's documentation?

I'm getting back into Qt lately after a hiatus of several years, and it looks like QML is the "new hotness" these days. In the past, I've managed to get widget-based examples from Qt's...

MySql connector-c++ wont link in QtCreator but works fine locally on raspberry pi3

Firstly, thank you in advance for at least reading this question. Secondly, feel free to call me an idiot if this is a "no brainer" Now down to the issue at hand... I am running Ubuntu 16.04...

unique_ptr, qvector.resize() throws error 2280 attempting to reference a deleted function

To prevent scope creep (on a previous Q), I've isolated the above error. My Voxel class definition: #ifndef VOXEL_H #define VOXEL_H #include <QObject> #include <QVector> #include...

Import Qt into an existing Xcode project

I am on MacOS 10.13.3, using Xcode 9 as my IDE, and trying to include Qt 5.10 in my Xcode project. I have installed Qt (with docs and examples) with Homebrew and ran many of them in QtCreator....

qtcreator Qt_5 not found

Hello I have a problem starting qtcreator under Ubuntu 16.04. The reported error is: qtcreator: /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libQt5Gui.so.5: version `Qt_5_PRIVATE_API' not found...

QML crashed if static build

I build static Qt 5.10.1 with mingw32. Ref: https://github.com/arkceajin/QtDemos/blob/master/windows-build-qt-static/windows-build-qt-static.ps1 For testing purpose, build an empty QML project, it...

Installing PyQT5 on Ubuntu16.04

I am trying to install python-pyqt5 in my PC with Ubuntu16.04. When I install like sudo apt install python-pyqt5 The system said, it is already installed. Reading package lists... Done Building...

PyQt5 to android with pyqtdeploy

I'm trying to port my application to android. I run pyqtdeploy-build command, then I should use qmake on .pro file if I understand correctly. Here is a problem, qmake, make, nmake are...

qtcreator can't find QT quick on ubuntu 18.04

I would like to develop a Qt Quick application on my Ubuntu 18.04.03 machine. I am going the route of installing Qt through the Ubuntu distribution. I first install the following: sudo apt-get...

qtserialport with CMake in qtcreator-ros-plugin?

I'm trying to compile qtserialport to my project in QtCreator4.9.2 with ROS plugin in. Of course, I had follow the doc to install qtserialport to my Ubuntu16.04. And then, I had do some tests like...

mupdf on linux segmentation fault

I hava a operation system running Ubuntu 1804x64 installed in VMware ,use Mupdf1.17 and build success,Qt version is 5.9.8 install by command sudo apt-get install qt5-default qtcreator my...

Does GLM use SIMD automatically? (and a question about glm performance)

I would like to check if glm uses SIMD on my machine or not. CPU: 4th gen i5, OS: ArchLinux(up to date), IDE: QtCreator. I wrote a little application to test it: #include <iostream> #include...

Relevant tags