Show 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 list memebers in my application I wrote three class YDBCManager,YDBCMsg,YDBCSig(Ref code following:) and use QList to save the class pointer , like...
View ArticleHow to use the javascript in QML
http://tenxer.github.io/xcharts/examples/ How to use the javascrip in .qml
View Articlezooming in paintevent
i am new to qt.please help me out. i have drawn one gui in paintevent on mainwindow.now i want to zoom the gui such that my gui have 4 arrow buttons and i can see my zooming in any direction using...
View ArticleProblem while drawing on QGraphicsView after Translation the QGraphicsView.
Hi everyone. I created a view which is subclass of QGraphicsView and its scene rect is equal to desktop’s rect. I am doing free hand drawing on it successfully. I also want to move the view on...
View Article[Solved] using customized QPushButton on QWizard
Hello every one. I want to use a QPushButton on QWizardPage. I have implemented the qwizard pages and added QPushButton as follows in the code bellow. When I click the button, the signal and slot...
View ArticleQt 5.0.1 QWebView. Problem with showing JPGs
I have QtWebKit application on Windows. Everything works properly, but the kitchen sink… I have no idea why it doesn’t show JPGs. I have /imageformats directory with plugins in the root directory. It...
View Article