EditAble QCombobox On QML ListView! (Help Qt 4.8.4 on Windows 7)
When i put a editable QCombobox on a qml listview by QGraphicsProxyWidget, it has some focus bug. when i click on QCombobox Edit Control, parent listview can not get focus, so i can not input...
View ArticleShow Icon in table view without re-implementing model
Hi, Is there any way to show an icon in table view cell without re-implementing model? can’t it be done by using QStandardItemModel? Thanks
View ArticleVisualise a data structure (Tree) in a QGraphicsScene
Hi all! I am developing a small application in witch I have to construct a tree of data then transform it to a graphic (root node, vertices and edges) using the GraphicsView framework. any idea, how to...
View ArticleResolve for QUrl On Windows mimatch error
QString str = QDir(fi.absolutePath()).absolutePath(); wchar_t fullpath[MAX_PATH] = {0}; wchar_t shortpath[MAX_PATH] = {0};...
View Article[solved]:-1: error: cannot open output file release\counter.exe: Permission...
today, i write some program, start it and its work ok. than i make some changes in text and have some error. after this i pressed ctrl+z and back to my 1st version and have this error: “:-1: error:...
View ArticleNeed qt-mt 3.3.0 >= < 4.0 for Mac OS X 10.8.2 Mountain Lion
I need the package qt-mt.pc so I can build Twinkle SIP client for Mac OS X. This is the last lib issue I haven’t solved yet to build this package. I have tried building from source...
View ArticleHow to change value of a Line edit dynamically
I’n new in python and QT4, so I want some help. I create a form in QT4 and compile with pyuic4. it create an form.py I want to modify the value of the line edit dynamiclly with code. I put this code in...
View ArticleHow to use QVideoDeviceSelectorControl class to get the list of video devices?
Here is the link to the class i’m talking about, http://doc-snapshot.qt-project.org/qt5-table/qtmultimedia/qvideodeviceselectorcontrol.html, basically I want to get the list of available camera...
View Articleopencv libs are not found - HELP
Hey, i want to use the opencv libs. this is a part of my .pro file : INCLUDEPATH += “D:\OpenCV\debug\include” LIBS += “D:\OpenCV\debug\lib\*.dll.a” when compiling the project no error occurs but...
View ArticleInsteresting news of web apps come from google
According to this site web apps [techcrunch.com] We could write web applications “that are truly architecture-independent.” + “it will allow developers to write high-performance apps that offer...
View ArticleLoad shared library with QML files in resource file
Hi, I have the following use-case: I want to protect the QML code of a dynamic library and thus add the QML files to a qrc file. The library is created by compiling the resource file into the library...
View ArticleWhy do Qt use pointers instead of simple variable objects?
I’m a newbie on Qt, and sometimes i hesitate choosing between using pointers or simple variable objects. But as i see all the examples in Qt documentation, there are almost always pointers, so i use...
View ArticleQML designer is very slow
My machine is MacBookPro retina 15”. When I switch to designer on QML file, QT Creator hangs out. How to avoid this problem? Thanks!
View ArticleСтатическая сборка Qt 5.0.2 mingw. Ошибка при компиляции программы.
4-й день вожусь с установкой кьюта… Моя последняя попытка, по действиям: 1) Установка: Perl 5.16.3, Python 2.7.3, Ruby 2.0.0 2) Установка qt-windows-opensource-5.0.2-mingw47_32-x86-offline (в папку...
View ArticleReturning a QList to Qml ???
I have a Q_INVOKABLE method that returns a QList<QHash<QString, QString> > when called from Qml, however when I run the code it throws “Error: Unknown method return type:...
View ArticleQList strange issue:Qt4.8.4 opensource with VS express 2010
I happened a strange QList issue, QList can’t get correct list memeber as QList init problem. in my application I write three class YDBCManager,YDBCMsg,YDBCSig(Ref code following:) and use QList to...
View ArticleThe problem with exception handle in QML 2 plugin
Hi everyone! I have the QML 2 plugin with method which crashed. I try to add the try..catch block for method but the catch section not called when method generating exception this is how to look my...
View ArticleNot seeing Graphics Scene Hover events
I have an app that uses a Graphics Scene and I want to use hover events to report info about the objects in the scene. I can enable hover events on the scene items that are direct parents of the scene...
View ArticleShow html tags in tableview
Hi, May i know how can i display html tags in a tableview. For example: I have an entry in my database <a href=“goo”>hello</a>.. When i get values from the database and put...
View Article