Quantcast
Channel: Installation and Deployment
Browsing all 22112 articles
Browse latest View live

QsqlQueryModel Subclass

This question may have been answered somewhere else already, but I just can’t seem to find the answer. I’m using the model to display a set of data from a sql database. I’m using the QSqlQueryModel to...

View Article


Первые часы знакомства с Qt. Отсутствуют компиляторы.

Товарищи, помогите разобраться. Только установил Qt, хочу разобраться. Создал тестовый проект, пытаюсь “собрать” его и “запустить”, но выскакивает след. ошибка – “Необходимо задать компилятор для...

View Article


Displaying text & integer in a single label?

This is a total simple question I think, but: How do I display a string and a integer in a single label? I tried it to make it like this:     int version = 1;    ...

View Article

QX11EmbedContainer Drag and Drop

Drag and drop events are not working properly for an QX11EmbedContainer with a QX11EmbedWidget inside. The drag and drop events are received correctly when only the QX11EmbedWidget is shown. Any ideas?...

View Article

Use QML VideoOutput item with C++ QMediaPlayer?

Hi, is it possible to render video from the C++ class QMediaPlayer in Quick2’s VideoOutput item? I need to use real c++ features like the QVideoProbe, but still display via the Quick2 engine. I have...

View Article


[Qt Creator] Crashes Randomly "Seg Fault"

Hello Folks. I downloaded the Qt-Bundle 5.0.2 (with Qt Creator included). My problem is Qt Creator is not working on my Linux-System. Qt Creator crashes randomly with Segmentation Fault. I downloaded...

View Article

QAudioOutput::setVolume not working correctly ?

i everyone ! As the title suggest, I’m having an issue with QAudioOutput::setVolume . It works fine until I reach 50% (0.5). Can someone try and tell me if it’s a bug or if I did something wrong please...

View Article

Loop creation of widgets in a tablewidget?

Hi, I’ve got 64 rows and 3 columns in a QTableWidget. I’m trying to add QComboBoxes to all of the 64 rows (in the third column). Here’s my code for 1 row: QComboBox *tablecombo1 = new QComboBox();...

View Article


Adding Themes to a Qt program.

Okay, so I have a gradient background set on my Qt program. I use this code to set it. vlayout->addLayout(hlayout);     this->setLayout(vlayout);    ...

View Article


Build QtMultimedia for android on windows

Hello, I managed to configure Qt with a few minor difficulties and compile QtBase, QtDeclarative, QtQuick1 but when I get to QtMultimedia I keep getting “ERROR: QtMultimedia requires android API 11”, I...

View Article

Widgets within a QGraphicsScene are blank

Within a *.ui, I’m using a ClrWidget (sub-classed QColorWidget) i.e., promoted from a QWidget to ClrWidget and there are some issues that I need help with:  class ClrWidget : public...

View Article

About qlineedit and integer validator for cellular numbers

Morning everyone: I’ve almost finished my app. And I’m still having a little problem. In my app, I put a QLineEdit to capture cellular phones numbers, and here these have a 10 o even 12 characters, I...

View Article

Is it possible to link to Webkit dynamically, while linking statically to...

I was making an application with a Qt Webkit browser in it. As it is not supported to link to Webkit statically (as seen in http://qt-project.org/forums/viewthread/5970), I was wondering is it possible...

View Article


QLabel is ignoring me [Solved]

Can anyone tell me why this code does not set the background color of the QLabel to white?     m_pLogOutput = new QLabel("Status");     QPalette...

View Article

Qt Creator 2.7.0 (OS X 10.8.2): qml2puppet crash (dyld: Library not loaded)

Dear members, I’ve just installed a fresh copy of Qt 5.0.2 from the download page. I successfully compiled and run a few examples, but whenever I try opening any qml file in Design mode, I get a crash...

View Article


QT Training Centre in india

Hi I need to know if there is any training centre for QT in chennai or any other location in india

View Article

[SOLVED] QUdpSocket readyRead() signal

Im having troubles seeing the readyRead() signal from a bound UDP socket. This is our current code – The socket is created in our class constructor – // create the actual socket m_socket = new...

View Article


libQt5Network fails to build on z_inflate references

Following the instructions for building Qt Android on Windows [qt-project.org] but I must have missed something. I got to the build steps and when I run mingw32-make the build dies with undefined...

View Article

How to understand and analyze an undocumented Qt application(the source code)

Hi all, Lately I have been assigned a really big Qt application to work on and add functionalities that meet the needs of my company.The problem is that the project is undocumented and I mostly have a...

View Article

Trying to collapse per-character QPainter::drawText() Qt commands into a...

Hello everyone, I have poked around for quite some time on the net trying to find insight into this problem, but I’ve had no luck so far. Below is an example of what draws correctly: for (int i = 0; i...

View Article
Browsing all 22112 articles
Browse latest View live