opencv and qt 5.1 integration
Hi, using opencv-2.4.6, Qt 5.1 on OpenSuse 12.2 64 bit, i run my software and i have: QMetaType::registerType: Binary compatibility break — Size mismatch for type ‘QPaintBufferCacheEntry’ [1024]....
View ArticleTrouble sorting a ListView/Model
Hello there I am making a app that looks at xml and appends it to a ListModel that is in a ListView. I want to use a searchbox(TextInput) text. To Filer out the results so that user can search the list...
View ArticleCan't run my project.
Только начал изучать данную библиотеку и столкнулся со следующей проблемой: При запуске этого кода #ifndef WIDGET_H #define WIDGET_H #include <QWidget> #include...
View ArticleRead and write a file to a specific line
I’ve to store some long int data into a file (one long int per line). Each line, must only contains the long int value and my problem is how can I write (on first) and than read the specific value on...
View Articleblock access to specific URL addresses
I want to block access to specific URL addresses. Is there any way to do it in QT?
View ArticleIssue with images on qml WebView app
Hi People, Images doesn’t appear on any qml webview app. I’m using Belle Refresh and I already reinstalled QtWebkit component. I try to delete “system/temp” and “system/data/qml-webview-cache”, but no...
View ArticleLinking a Static Libray
Hi! I have a simple doubt: How can i link a compiled static library( with a .h and a .lib) files in my project? I use the option to include a static library and pass the paths …etc…everything works...
View ArticleStyling tab background in QTabWidget
As you can see in this screenshot I styled QTabWidget but I couldn’t set tab’s background to transparent although I used: QTabWidget#tabWidget_sidebar { background-color: rgba(255, 255, 255,...
View ArticleHow to Create a Custom Context Menu For QTableView
Can anyone please post a simple example for creating a custom context menu for a QTableView ? I’m new to Qt. I searched in Google. But couldn’t find any examples out there.
View Articlechange size of items in QListWidget
hi i have a QListWidget which has some items here is my code *QListWidget *mailList=new QListWidget(); mailList->insertItem(0,“item 0”); mailList->insertItem(1,“item 1”);...
View ArticleHow to detect whether there is mouse input or touch input...
My app will work on the desktop, tablet and phone. The UI will be selected accordingly. To differentiate between PC and touch device, I need to know whether a mouse is connected to the system or not....
View ArticleHow to reuse QFile in multiple functions/methods
Hi, How can I make a QFile visible in multiple functions/methods? In other words I would like to create a QFile and be able to use the same name in multiple places, for instance the save and load...
View ArticleQGraphicsScene mysteriously always accepts drop events
I am using Drag/drop in a GraphicsView context. Some drops are accepted by specific QGraphicsItems, while others should be handled on the QGraphicsView level. For that purpose I have a subclass of...
View ArticleCreate a HUD for a game
Hi, I need help. I want to create HUD for a game in OpenGL, and I saw that Qt 5.1 recommends to use QWindow to draw OpenGL data because QGLWidget is deprecated. I want to know if It’s possible to draw...
View ArticleQStateMachine and GUI update in a QState::onExit()
Hello, I’m using QStateMachine with several sets of subclassed QState’s. In one of these, I’m overriding onExit() to make some work when exiting the state. This work is long (about 2 secs) and I would...
View ArticleFastest way to interact with QML
Hi everyone, I’m having a question regarding interaction between C++ and QML. I’ve a set of button with different click behaviour (one is pulse, one have to switch state, one have to follow...
View Articleدعوت به همکاری از برنامه نویسان کیوت به طور پاره وقت در مشهد
با سلام از برنامه نویسان محترم کیوت – ساکن مشهد – برای توسعه کدهای موجود سیستمهای معمولی و سيستمهای آرم دعوت به عمل می آید توسعه دهندهگان سیستمهای معمولی تحت ويندوز کارمی نمايند توسعه دهندگان سيستمهای...
View ArticleBackground Image in qss? [SOLVED}
How can I set the background image for all of the screens in my application in the qss stylesheet file? Is it possible? Regards, James
View ArticleExternal dll for parsing XML file - reference in Qt Application is resulting...
I’m using Qt Creator 5.0.2 (MSVC version) on Windows XP and I’ve a Qt 2.0 application which uses an external .dll file. I’m able to reference the external library properly in my Qt project. However,...
View ArticleQT MainWindow freezes when closing OpenCV Webcam Window
Hi, I am working with VS2008, QT Designer, QT 4.8.5, OpenCV and PS3EyeSDK. I have a QT Application with a MainWindow that opens an OpenCV Window of a Webcam via the connection of a PushButton. This...
View Article