[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 ArticleQAudioOutput::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 ArticleLoop 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 ArticleAdding 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 ArticleBuild 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 ArticleWidgets 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: _dialog = new...
View ArticleAbout 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 ArticleIs 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 ArticleQLabel is ignoring me [background color]
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 ArticleQt 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 ArticleQT 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 ArticlelibQt5Network 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 ArticleHow 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 ArticleTrying 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 ArticleHow to get the mouse click coordinate in a scene?
Hi.. I make some circle in one scene using QGraphicsEllipseItem. I want to grab a real coordinate (not the center of the circle) of this item when someone left-clicked every circle. Using the first...
View ArticleGetting Scene and View Sizes Down
Hi everyone, I’m a little bit confused on how I set up View and Scene sizes in comparison to eachother. What I’m trying to achieve is a QGraphicsView main widget with a QGraphicsScene that spawns a...
View ArticleExpected behavior of 'stackBefore' [Poll]
Without much thinking, which behavior would you expect after executing the following pseudo-code: ItemA->stackBefore(ItemB);
View ArticleProblem reading simulated touch events from /dev/input/event1
Hello All, I have created GUI application for my custom board. with environment variable export QWS_MOUSE_PROTO=tslib:/dev/input/event0 it works fine for manual touch. Now i wanted to create simulation...
View ArticleCheck, if a integer in a lineedit is higher than X?
void MainWindow::on_lineEdit_textChanged(const QString &arg1) { int sLineEdit = ui->lineEdit->text.toInt; if (sLineEdit > 4)...
View Article