Category "qt"

Why does QStringLiteral returns a garbled string

I'm programming a Chinese software, and embed some of the strings in the source file. To reduce runtime overhead (well, actually this is premature optimization,

Qt 5.1.1: Application failed to start because platform plugin "windows" is missing

Edit: Some people started to mark my question as a duplicate. Do not forget that many similar questions existed when I asked this one (see e.g. the list below).

split json response in Qt

I have created a Restful Web Service in ASP.NET and would like to use it in my own Qt project. I can post to and get the data from my Web Service in the SoapUi

PySide - PyQt : How to make set QTableWidget column width as proportion of the available space?

I'm developing a computer application with PySide and I'm using the QTableWidget. Let's say my table has 3 columns, but the data they contain is very different,

How to create QT Window and use pure OpenGL core profile inside?

I don't want to use QOpenGLWidget, because of the old version of OpenGL inside. I don't understand what is the difference between getting QOpengGLFunctions from

Qt 5.1.1 compiler setup on Ubuntu

First of all, I should point out that I've never used linux before. I have a clean install of 64bit ubuntu, I downloaded Qt 5.1.1 for linux 64 bit from http://

Clear all widgets in a layout in pyqt

Is there a way to clear (delete) all the widgets in a layout? self.plot_layout = QtGui.QGridLayout() self.plot_layout.setGeometry(QtCore.QRect(200,200,200,200)

Qt Color Picker Widget?

I have a QDialog subclass that presents some options to the user for their selecting. One of these options is a color. I have seen the QColorDialog, and I nee

convert an int to QByteArray in Qt

I'm trying to convert an int to QByteArray. I'm using this method QByteArray::number(m_vman); is it correct? I'm trying to use the number() for getting an int t

QML creating Text element takes long time

I noticed that creating Text element in QML takes long time. For an example: import QtQuick 2.5 import QtQuick.Window 2.2 Window { visible: true wid

QML creating Text element takes long time

I noticed that creating Text element in QML takes long time. For an example: import QtQuick 2.5 import QtQuick.Window 2.2 Window { visible: true wid

QML creating Text element takes long time

I noticed that creating Text element in QML takes long time. For an example: import QtQuick 2.5 import QtQuick.Window 2.2 Window { visible: true wid

QML creating Text element takes long time

I noticed that creating Text element in QML takes long time. For an example: import QtQuick 2.5 import QtQuick.Window 2.2 Window { visible: true wid

How can I give a Qt QML item a property that doesn't notify when it changes?

I (very) occasionally find myself needing to add a property to an item that isn't bindable in other expressions, that is to say that when its value changes, it