how to detect the character encoding of a web page programmatically ?
I want to get a web page source code by Qt or PyQt ,I know how to get the encoded source code ,then I need get the codec in order to convert it into plain text ,so the problem is how to detect the...
View ArticleHow to cast QSharedDataPointer
Hi ! How to dynamic_cast a QSharedDataPointer<Base> object into a QSharedDataPointer<Derived> object whitout loosing the reference counting from the Base object ? NB: Base...
View ArticleFailed to load platform plugin "ios"
I have compiled Qt 5.1 Beta for iOS myself following the instructions here: http://blog.qt.digia.com/blog/2013/03/05/qt-for-ios-preview/ The included demo builds and runs fine, but I have a problem...
View ArticleProblem with simple Class
Hi, I’m newbie in Qt, I’m created my own very simple class. And when I want to create some object of my class something goes wrong. I don’t know what’s going on. Probably I missed something in code....
View ArticleWhat is the common pattern to implement a selected region dragged by mouse ?
I am quite new on Qt, and I would like to implement a selection made by dragging with the mouse. What is the common pattern/logic to do it ? I have found a clear and nice example which used QRubberBand...
View ArticleНе отображается скороллбар у QGraphicsView
При выполнении следующего куска кода всё нормально, скорллбар есть QGraphicsScene* scene = new QGraphicsScene (this); scene->addRect(0,0,20,200); scene->addRect(800,0,20,200); но стоит...
View ArticleDeveloping iOS under Windows
Hi, Is there any possible solution how to develop in Qt 5 for iOS on OS Windows? Emulators like VMware and Virtual Box aren’t great friends with me, in Xcode I’m definitely lost and there is another...
View ArticleQSystemTrayIcon does not appear
QSystemTrayIcon does not appear This code QSTITrayIcon= new QSystemTrayIcon(this); QSTITrayIcon->setToolTip(this->windowTitle()); ...
View ArticleQt Creator Simple Survey
Hello, Usually I work as web developer.But now, I need to create a simple questionnaire in Qt Creator. This is news to me, and at the moment I don’t have a time to learn how to build app in qt. Can any...
View ArticleQHash problems from 4.8 to 5.0.2
Hello, I am trying to convert a project from 4.8 to 5.0.2 on Mac OS and I am getting this erros: 22:48:52: Configuration unchanged, skipping qmake step. 22:48:52: Starting:...
View ArticleProblems with compiling in Ubuntu.
Hello, ledies & gentlemen. My software kit is: Ubuntu 13.04., QT5.1.0.beta. Problems with gcc correct startig up (in Ubuntu the newest version gcc 4.7 is installed). In menu Tools/Options/Bild...
View ArticleDriver QMYSQL not load
I have problems with the MySQL driver. I use Qt 5.0.2 and Qt Creator 2.7.1 I compile the various as indicated in the documentation. After compilation, it has created liqsqlmysql.dylib and...
View Articleto capture image from video frame qml(Qt -5)
Hai, I am using video element from QtMultimedia(qml) to play video. How it is possible to capture a image from video frame in qml. Thank you
View ArticleSmooth Text Scrolling
Hi all, I’m looking to build a text scrolling app and I’m having a very bad performance animation. The animation isn’t smooth as it jumps like a rabbit… I really don’t understand why this simple...
View ArticleHow is this possible?Just curious....
Hi guys,was sifting through the forum and stumbled across this member [qt-project.org] . Just wondering how it is possible to hit 4k+ with around 90 posts.As the title says, I am curious and I...
View ArticleQt Creator crashes while debugging BlackBerry
When will be possible to actually use Qt Creator to write and debug software for BlackBerry 10? It always crashes even with very simple programs and locks the BB10 simulator, which requires a restart....
View ArticleQtSerialPort for Beaglebone
Hi, Can QtSerialPort be compiled in Ubuntu, to work on a Beaglebone (Arm processor)? I downloaded the QtSerialPort and it compiled fine on Ubuntu 13.10 with Qt 4.8. I then tried the cross compiler for...
View ArticleNeed help with a QRegExp.
Hi, can somebody help me to solve my regex mistake. I have the following string (and more like that): NAME=……, Know I want to extract the part between = and , in the party between = and , can be any...
View ArticlePerformance issue on real-time wave plot into QImage and update() to QWidget
nice to see you guys. I am developing a real-time ECG signal plotting on x86. The brief requirement is to draw the ECG signal as a real-time wave: 1. Draws the 500 HZ ECG signal sample into a backend...
View ArticleQt的官方博客有中文的版本了
今天登上Qt官网,发现标题栏大改版了。然后习惯性地看看Qt的Blog,发现已经有中文的翻译了。而且除了中文和英文之外没有其它的文字可选。 这是不是说明Qt团队更加重视中国的开发者? 不知道其它国家的用户在看Blog的时候是否也会看到它们母语的翻译。
View Article