Qt Creator 2.6.2 for windows and Qt 5.0.1 compiles only in release , even if...
no matter what i do the compilation is allays in release mode , even that in Projects window i have set it in debug and i see that the build is configured to debug , it allays compile me to release ....
View ArticleMp3 Decoder using QAudioDecoder
Hello, I would like to get the raw data (pcm) from an mp3 file by using QAudioDecoder. According an example I found it’s possible to do so with QAudioDecoder. Please tell if not. I implemented this...
View ArticleQML toFixed() visually different on Win CE versus desktop
How do I make toFixed() display all 4 decimal places on Windows CE, similar to the desktop? The code: text: level.toFixed(4) Win CE – not showing decimal places: Win 32 – desktop shows all four places:...
View ArticleQt 5.0.2? XP-Sp3? QWebKit? When release?
Couple of days before I started a new project using QWebKit, and suddenly realised that well known problem with XP SP3 and QWebKit. It was said that next patch-release would be on 20Feb. There it is...
View ArticleQtonPi Events
Hi All, I would like to start a thread dedicated to events related to Raspberry Pi and Qt around the World :) The following events will take place in the USA in 6 days. I’m in Europe and I won’t be...
View ArticleQML Gradient Any Direction - SOLVED
Good day I leave here a way to gradients in any direction. I make a new component called “Gradiente” Code in qt 5.0.1 gradiente.h #ifndef GRADIENTE_H #define GRADIENTE_H #include...
View ArticleWidget I can draw on.
Hello, I want to use widget that I could draw on and use it with Qt Designer/Qt Creator together. Do I have to write it on my own and implement paintEvent or is there any easier way? Maybe there is...
View Article[solved] A little problem using qsql (qsqlite)
I am trying to fetch the key id from a record I’ve just inserted: QSqlQuery qri(connection); ...
View ArticleCan't properly detect QSqlDatabase disconnect
Hello everyone, I have an issue trying to do a few things if an unexpected connection loss occurs, that is, a database disconnection. My approach was using a method isOpen()*on a *QSqlDatabase object,...
View ArticleQFileSystemModel: setting folder icons without using QFileIconProvider
Hi all, I’m currently trying to change the folder icons from my FileSystemModelClass (subclass of QFileSystemModel). I’ve tried subclassing the QFileIconProvider but It gave bad performance. Therefore...
View ArticleOpenGL for simple graphical view?
Hi :) I’d like to write a little tetris fot training and i’m wondering weather i should use OpenGL for the graphical output or a standard QPainter. Is the Qt Support for OpenGL more than just...
View ArticleWhy do I get qmake 4.8 in Qt5.0.1 ?
Hi, I downloaded and installed Qt5.0.1 for linux64. However the qmake I got is version 4.8? It’s causing problems like error: #error “This file was generated using the moc from 4.8.1. It” error: #error...
View ArticleHow to add lupdate and lrelease to makefile as a batch process
Is there a way to add the lupdate and lrelease to the build process so one would only need to call make (nmake in my case)? Currently it looks like it can done on a command line or from qcreator. I am...
View Article[Solved] QTabWidget: how to detect a tab has been added (or removed)
Hi, I sub-classed QTabWidget to hide the tab bar if there is only one tab (tabBar()->hide() and tabBar()->show() work well for that), but my problem is where to check tab count. According...
View Articleqtsql qoci select query performance
I’ve got a question performance of Qtsql module, exactly QOCI interface. Simple application which only connect and selects data, works way too slow (about 5 times) in comparison with other tools...
View ArticleSSL connection not dropped
Hi all, i’ve implemented a simple SslServer inheriting from QTcpServer and overriding the incomingConnection() as suggested from the documentation. However i am stumbling on a strange problem:...
View ArticlePySide: AnchorChanges in state transmission not working
Hello, I’m trying to animate an BorderImage element with two states (shown, hidden) using AnchorChanges. But everytime the state transmission should be performed PySide prints the following error:...
View ArticleProblem building Qt 5.0.1 (Visual Studio 2005)
I’ve fallen at the first hurdle trying to build Qt 5.0.1 (from the opensource ZIP). I’ve successfully built 4.6.2 and 4.8.3 recently with no issues, simply by running the standard configure ->...
View ArticleSegFault when I'm trying to release one QGraphicsWebView instance pointer...
Hi Mates, I’ve got one Segmentation fault when I did a pointer release over one QGraphicsWebView instance, this only happens when QWebSettings::PluginsEnabled is enabled. Also the way to load the HTML...
View ArticleThe Reality of Developer’s Life :)
http://www.javacodegeeks.com/2013/02/the-reality-of-developers-life.html
View Article