Questions tagged [qt5.9]

Use this tag only for questions specific to Qt 5.9 and not relevant to other versions.

Qt is a cross-platform application development framework for desktop, embedded and mobile. Supported Platforms include Linux, OS X, Windows, VxWorks, QNX, Android, iOS, BlackBerry, Sailfish OS and others.

Qt is not a programming language on its own. It is a framework written in C++. A preprocessor, the MOC (Meta-Object Compiler), is used to extend the C++ language with features like signals and slots. Before the compilation step, the MOC parses the source files written in Qt-extended C++ and generates standard compliant C++ sources from them. Thus the framework itself and applications/libraries using it can be compiled by any standard compliant C++ compiler like Clang, GCC, ICC, MinGW and MSVC.

For more information https://wiki.qt.io

65 questions
1
vote
1 answer

Qt with android 5.9.0 installation erorr

I am trying to install Qt with android , but i am facing issues while adding AVD, sdk location : D:\android-sdk ndk location : D:\android\android-ndk-r15c-windows-x86_64\android-ndk-r15c creator showing it found 10 tool chains for this ndk ant…
narthan_l
  • 21
  • 7
1
vote
1 answer

Errors with raspberry pi 3 - Qt 5.9 eglfs

I have compiled the latest version of qt from git 5.9.2 with latest raspibian (2017-08-16-raspbian-stretch.img) as sysroot. I have previously installed some library to compile with -opengl es2. Compilation succeeded but when I run the application I…
Mohamed Hamzaoui
  • 325
  • 4
  • 15
1
vote
1 answer

How to change provisioning profile

At this moment, I've successfully managed to run the calculator example that comes with Qt Creator under iOS apps section through the Simulator and the actual iPhone (i.e. in my case iPhone 5s). Qt insists that the provisioning profile must be…
CroCo
  • 5,531
  • 9
  • 56
  • 88
1
vote
1 answer

Is pre-compiled Qt 5.9 VS version independent?

On the Qt website, in the download section, there is a pre-compiled Qt5.9 available. Before Qt5.9 there were different pre-compiled packages for each Visual Studio version. Is new pre-compiled Qt5.9 VS version independent? If not, for which version…
user2449761
  • 1,169
  • 13
  • 25
1
vote
1 answer

ScrollView with QtQuick.Controls 2.3 don't find library in QML

Today I've updated to Qt 5.9, I'm trying of use ScrollView, but this require this library: import QtQuick.Controls 2.3 When I import the library, and run, i receive this error: QtQuick.Controls 2.3 is not installed. This is impossibile, because…
Mr. Developer
  • 3,295
  • 7
  • 43
  • 110
0
votes
1 answer

Why is this local QMultiMap detaching when modified?

To give some background: in my project I put a debug breakpoint inside QMap::detach_helper because I wanted to see if I could spot any occurrences when implicitly shared QMaps were detaching due to an oversight e.g. using find when constFind could…
Patrick Parker
  • 4,863
  • 4
  • 19
  • 51
0
votes
0 answers

std::list::empty() returns true even though list is filled

I am having issues in a code having structure similar to the following minimum example. There is only one instance of MainClass. It makes new instance of Classlet on each call to its MainClass::makeclasslet() I have multiple classlets writing to a…
0
votes
0 answers

Is there any way to stop Qt 5.9 from replacing values of versionCode and versionName in apk's AndroidManifest.xml?

Values of platformBuildVersionCode (versionCode) and platformBuildVersionName (versionName) are always replaced with the values of targetSDKVersion and targetSDK in apk's AndroidManifest file. I have tried below ways. Modified these fields from…
0
votes
1 answer

QWebEngine: deleting QWebEngineUrlRequestInterceptor results in crash

in my project I want to create/delete QWebEnginePages when opening/closing an app. With Qt5.9.7 everything worked fine. While switching to Qt5.12.6 my application will crash. I created a small code example, where I just click a button for creating…
Vanessa
  • 49
  • 8
0
votes
1 answer

qmake : gcc command too long because of unusual -isystem"" options

I have a QtCreator project which uses qmake and MingW and gcc (and Qt 5.9.4). When I run qmake in Debug mode, it generates a gcc command that is so long that it gets truncated. The truncated bit is the name and path of the source file, and so…
Charles
  • 988
  • 1
  • 11
  • 28
0
votes
1 answer

Running QtWebEngine on embedded device fails

I am trying to run this simple example on an external embedded device: https://doc.qt.io/qt-5/qtwebengine-webengine-minimal-example.html# It runs fine on my desktop, but when I run it on my device I get the following…
Silex
  • 2,583
  • 3
  • 35
  • 59
0
votes
1 answer

Getting error : Must construct a QGUIApplication first

I am developing a GUI application, but whenever I am trying to close the application, it throws an error that "Must construct QGuiapplication first". My main is not returning exit code 0, so it's not exiting normally. I think some destructor is…
Vikrant singh
  • 433
  • 1
  • 7
  • 25
0
votes
0 answers

Qt:Child Layouts not getting added Properly

I'm new to qt and exploring it .Basically Im adding three child layouts to a Parent layout.But after having added the third layout,my first layout disappears. This is my code: MainWindow::MainWindow(QWidget *parent) : QWidget(parent), ui(new…
george
  • 339
  • 3
  • 12
0
votes
0 answers

Qt:Unable to set Background color for qwidget with a Parent Background Image

I have a QWidget (basically a QComboBox) to which Im setting a background color(white).This QComboBox has a parent widget which has a background Image. And the output looks like this: The combobox is not completely white and has some impact of the…
adi
  • 984
  • 15
  • 33
0
votes
1 answer

Qt:Unable to set Background color for qComboBox properly

I have a QCombobox and I want to set a white background color.This is my code. QComboBox *cBox = new QComboBox; cBox->addItem("Text1"); cBox->setStyleSheet("background-color:white"); This combobox has a parent widget whose background is an image…
adi
  • 984
  • 15
  • 33