QTextEdit and CR
I’m having trouble filling a QTextEdit object with a series of numbers, each one of which is to appear on a separate line. For example, QString blah; for (int i = 1; i < 100; i++) {...
View ArticleQt Assistant print selection
It would be nice if Assistant’s print dialog offered the option of printing only the selected text. I searched and found the previous entry from several years ago. Qt QTBUG-1418 Didn’t know if maybe...
View ArticleGet URLs of active Browser windows
Are there any library to get alls the active urls what are opened in a browser. I have a certain webpage where a screenshot should be uploaded, the url looks like this: http://tld?identifier=12345 So I...
View ArticleDeploy Android application to physical device
Hi all, first I want to tell that I like the way Qt is developing. Especially the Android development. I have a problem with deploying my app to my Galaxy S2. Two days ago I made a simple GUI and was...
View ArticleDo I still need to download Necessitas when using QtSDK 5.1?
I’m a bit confused regarding necessitas downloads after QtSDK 5.1 is out. Can I just use the official QtSDK release to build applications for Android? Or I still need to use the Necessitas project?
View Article[Solved]how can I get all QAction that I’ve created by Qt designer...
how can I get all QAction that I’ve created by Qt designer programmatically?
View ArticleactiveWindow() don't run on mac
Hi! I’m new here and I have a problem when building app on mac I want to use activeWindow() on top window but it don’t run, i also try use show(), raise() but nothing happen. Thanks.
View Article[SOLVED] Client-Server Communication: Server not able to receive Client data...
Hi, I am testing my simple client-server application mentioned here: Client-Server application [qt-project.org]. The Server, I am running in Linux (Fedora). Client is in Windows XP. When I click Login...
View ArticleQMYSQL Driver installation
Hello, for the past 3 days I’ve been trying to install the QMYSQL driver but I can’t get it anyhow to work. I’ve tried a lot of guides and in all of them I get stuck in a moment. I’m running on a mac...
View ArticleaddApplicationFont on mobile platforms
Dear all, Is it possible to use addApplicationFont to use custom TTF fonts on mobile applications ?? On which platforms the addApplicationFont has been implemented ?? When I try to use...
View ArticleProblem since Qt4.8 to select bundle with QFileDialog
Hello, I have a problem with QFileDialog with Qt4.8. I worked so far with Qt4.6.3 32bits on Mac 0S X 10.8.6. The problem was not in Qt4.6. It appeared when I tried moving to 4.8.4 32bits. The problem...
View Articlemoc: Parse error at "std" [workaround]
Hello, I tried to compile a little project with Qt5.1beta1. (I am on a Debian Wheezy with the binary offline installer qt-linux-opensource-5.1.0-beta1-x86-offline.run) This produced following error...
View ArticleHover over widget should set child widget color style.
I have a QWidget #myWidget that contains several QLabels. I want the text color of the labels to be red: #myWidget { color:red; } That doesn’t work, I must tell the style to set the embedded...
View Article"">QtCreator hangs up when I typed "this->"
This happens 100%. template<typename T> class TemplateClass { public: }; class Test : TemplateClass<Test> { public: void func(){ // In this section, when I type...
View ArticleQt 5 doesn`t build - too many errors emitted
Hi everyone! I try to compile a 32 Bit Version of Qt on Mac OS X 10.8.3, but after a short time it throws many errors and ends up with the fatal error: too many errors emitted, stopping now. I...
View ArticleBuilding qt from git - assembler error
Hello, I am trying to build qt5 from git following instructions from here [qt-project.org]. But it fails with following error on g++ … schema/qxsdschemaparser_setup.cpp: {standard input}: Assembler...
View ArticleNewbie suggestion !!
Hi , i m new in Qt world :) , At this moment Qt 5 is already out there . I found some books but they are all about Qt 4 even Qt 3 :O !! Now what should i do for learning Qt ? I dont have any previous...
View ArticleHow to build a static Qt 5.0.2 in windows
Hi, I’m a beginner of Qt. I have a project of converting the html page to png file by calling API of QtWebKit. It’s very simple and I have finished it in Qt Creator. But I need to build my project to a...
View ArticleQML WebView 3.0 don't use the provided QQmlNetworkAccessManagerFactory
I have subclassed QQmlNetworkAccessManagerFactory because I want that the QML WebView item sends a custom user agent string. But it seems the WebView doesn’t use the custom...
View ArticleScrolling problems
Hey, i have implemented a widget which has a grid (QTableView object) and two scollbars, one horizontal and one vertical. I have implemented a function that fetches the data to be shown in the grid...
View Article