Make QtCreator recognize costum widgets
Hi everyone, i have tried several things found in the examples available, but I can not make my widgets show up in the QtCeators design view. I downloaded(copied) the files from...
View ArticleQML binding : ReferenceError
Hi, I’m writing a QtQuick app, and I need to use some Qt C++ functions, but when I try to access to my class method I get this error:...
View ArticleDrag a copy of an item to Droparea
I’ve been attempting to implement something similar to the QtQuick example drag and drop: http://doc-snapshot.qt-project.org/5.0/qtquick/quick-draganddrop.html It seems quite straightforward to drag...
View ArticleCrash in qt_scale_image_32bit
Hi. I got a crash report from user, for my Qt 4.8.4-based application (Win32). It is an ACCESS VIOLATION in qt_scale_image_32bit<Blend_ARGB32_on_ARGB32_SourceAlpha> The problem is that: I...
View ArticleQtQuick.LocalStorage 2.0 on Blackberry Playbook
Initializing the database on my playbook does not work like on the desktop so I had a few questions: 1) Where the database is stored on the device? 2) If it is...
View ArticleGo to a Webpage in Qt WebKit
I have a question about Qt WebKit. I am trying to make a web browser in Qt. I have got the Back and Foward Buttons working, but not the URL bar working. Once the user is done typing in the URL they...
View ArticleglPopAttrib and glPushAttrib on GLES for rendering fbo to a qquickitem
Hi guys, I’ve extended QQuickitem to create an area where I can call open gl calls directly. Only problem is on GLES/ANGLE platforms I cant push and pop like so This is the preprocess in my...
View ArticleGoogle Test and printing QVector3D
Hey everyone, I have had a lot of success using google test’s unit testing framework with Qt4/5. I have it set up with cmake and I am using QtCreator. One issue I am having is writing custom print...
View ArticleCrash with QItemSelectionModel::selectedIndexes()
I have read about this problem all over the internet, but always with different solutions and none worked for me. When I run the following code: QModelIndexList il =...
View Articletail-f function in qt
hi I have a file from which I will extract data and display. The file will keep on getting new entries from other program. Now My gui should be able to extract new entries from the file. Something like...
View ArticleRelease memory with the QImage
How I can clear or release memory associated witht he QImage? now I am doing like this if(!image->isNull()) { ...
View ArticleQCA Events
how to emit an event in QCA ?? can we emit them manually?? something like below code! QCA::Event event; event.source() = QCA::Event::KeyStore; event.type() =...
View ArticleHow to enable threaded scene graph rendering on Windows?
Hi, could you, please, tell me where should I set the QML_FORCE_THREADED_RENDERER variable to enable threaded renderer on Windows? Thank you!
View Articlecreate class
Hi i’m a begginer and i want to learn how to create my own class and use it in another project later. i did like this and it didn’t work i create new project in which i made my new class for exemple...
View ArticleQQuickItem::updatePaintNode() or QSGNode::preprocess() ?
Hi, I see there are two functions for updating content of a custom visual QML item: QQuickItem::updatePaintNode() and QSGNode::preprocess(). In first one we initially create and add new node to the...
View Article[Resolved] Interfaces and Signal/Slot functionality
Hello, I’m trying to create an interface to separate program core from user interface. My idea is to create an interface for user frontend, let’s say class Interface : public QObject { Q_OBJECT...
View Articlesetting the server port
hello every one.. My application needs the communication between server and client application , but every time when i launch server side program the port get changes. can anybody tell how to set the port
View ArticleQDateEdit - Change the font color of the Date , if it is a Holiday?
Hi… I have a QDateEdit. In that if the user enters a Date, which is of a holiday, then the color of the date should be changed to indicate that the mentioned date was a holiday… How can i specify the...
View ArticleHow to ignore the system's DPI setting?
I had a puzzling effect in a GraphicsScene, where I use QGraphicsTextItem. There are two items which show the same data. One of them shows a bigger font that the other. (The plain texts are different...
View ArticleQT webkit an LOOONNNNGGGG page Not working
Hi I am using QT webkit and cutycapt to make sceenshot of webpage on my web server . But when the pages are too loong witht to many pictures I dont get nothing Exemple of pages...
View Article