Quantcast
Browsing all 13965 articles
Browse latest View live

Sorting dates in Qt

How do I utilize QDate to sort dates by year, month and day ?

View Article


[Closed] Sorting dates in Qt

How do I sort dates by years, month and day in Qt ? I am using Qt 4.8.

View Article


Regular Expression

#include <QCoreApplication> #include<QRegExp> #include<QString> #include<QDebug> #include<QRegularExpression>...

View Article

QListView / QListWidget with custom data

Hello all, I am currently adding a GUI to a larger project. So far I used the QGraphicsScene to render a large network and I must say that I am really impressed with it:) However, I have a problem with...

View Article

QMediaPlayer won't play on other machine

Hello, I released media player with shared libraries… It works well on my PC… I installed Windows 7 (32 bit) and then Microsoft redistributable pack… Application run well but does not play file… There...

View Article


QTableWidgetItem ... The size of the icon ..

Hi boy’s i am very frustred, i think there is no solution for that but i try to ask … I do many schearches on google, i have try to “strech” row, it doesn’t do nothing So for explain my problem i start...

View Article

Problem With Qthread signal and slot

I’m new of Qt and I try to connect a signal event of a button with a method defined in my derived classes of QThread. So I have my Qthread class with the definition of run method and a slots class...

View Article

Android - Numeric Keyboard

I have LineEdit and when the user tap on it a full keyboard appears. How do I force that a numeric keypad appeared ? I tried setInputMethodHints to Qt::ImhDigitsOnly but it didn’t work.

View Article


How to paint over a transparent image overlapped to another image.

Hi, I am new to Qt: I have to display a trasparent empty image overlapped to another (I am using QImage objects) so it is possible to paint over the trasparent image without alterate the background...

View Article


Xcode data formatter?

Is there any data formatter plugin or python script for displaying Qt 5 data types in Xcode? I have some old one that sort of works with Qt 4 but only with simpler types like QString. Now with Qt 5,...

View Article

Building mysql driver crashes on opengl?

Hi, I’m following the guide “sql database drivers” from the qtcreator to build the mysqldriver. On the step : “mingw32-make sub-src” First I ran into this bug :...

View Article

problem z fitInView(...)

Witam! Mam taki oto kod, którym chce wyświetlić dwa obrazy w QGraphicsView: QImage obraz1(s1);     obraz1.scaled(QSize(541,541), Qt::IgnoreAspectRatio, Qt::FastTransformation);...

View Article

Can't "make" the out-of-box Shared Memory Example

Howdy! This is my first post. I’m trying to learn about Qt, and specifically about using the Shared Memory class QSharedMemory. To start out, I’ve been teaching myself with the C++ GUI Programming with...

View Article


Qt 5.2 and Android Error

So after a few hours of struggling to set up my Qt so I can start with my first Android app I am still without luck. I’ve gotten a VERY simple program (just to get all the settings right) to build...

View Article

How to check if there is something in the clipboard

How do i check if there is something in the clipboard? i mean if there is something to paste…

View Article


Error C1083 "No such file or directory" for

I have in a .pro file: QT       += core gui sql In a main.cpp I wrote: #include <QtSQl> And as result I get the error message – error C1083 “No such file or...

View Article

QtQuick and camera on mobile devices

Hello, I am trying to make a QtQuick program for Android and iOS which will use the camera, so I have a few questions: 1. Is it possible to call whichever program is built-in for making photos? This...

View Article


QDockWidget child window disappear [BUG]

I have a button on QDockWidget. When user press the button I create the QDialog and show it (dlg-show()). And here we have the two cases: Case (1): If the QDockWidget was in dock and we press the...

View Article

Where is the main? Where is the project view?!!!

I have clicked every possible command or button I found to open the project so that I can edit the program, but to no avail, please, please somebody please help me solve this [skydrive.live.com] huge...

View Article

Question using cosmetic pen

I would like to have a special QGraphicsLineItem with an small gif image in one end. I would like to draw it with a cosmetic pen, so when zooming the scene by applying a transformation the line will...

View Article
Browsing all 13965 articles
Browse latest View live