Компилирование Qt5
Здравствуйте! Пользовался вот этим руководством http://qt-project.org/wiki/Building-Qt-5-from-Git . ОС – WIn 7 ×64. MinGW x64-4.7.2-release-posix-sjlj-rev8 ICU компилировал по этой инструкции...
View ArticleDeveloping MVC academic application with Qt 4.8
Hi there, im a CS student and im new with Qt, i’ve to develop a chart visualizer application using g++ and Qt 4.8 (not 5). The target is to use the object oriented properties to plot many kinds of...
View Article[Renamed] How do I set the QTOpenGLContext of a qml window before I run it.
Hi Guys, I have the following code. QQmlEngine engine; QQmlComponent component(&engine); ...
View ArticleQt - Nested QTableView/QTableView displaying QStandardItemModel w/ column...
Hi all, I’ve been working on this for awhile while learning Qt and I haven’t figured it out via the online documentation or forums, so I thought I’d ask. I’m basically trying to create a nested table....
View ArticleWhy does macdeployqt create a frameworks dir..
Why does macdeployqt create a frameworks directory populated with parts of the Qt framework not used by the Application? I do “otool -L appbundle” and the output lists a few Qt frameworks I know are...
View Articlecannot run applications from Qt creator
Hi all, I have installed Qt on Linux Mint Debian Edition and tried to run an example from C++ GUI Programming with Qt4 2nd edition. From qt-creator, I’m able to compile the code, but when I run it from...
View ArticleQStyledItemDelegate: Problem with multi-widgets editor
Hello, I am trying to use an editor made of two QDoubleSpinBox when subclassing QStyledItemDelegate. I have no problem connecting the delegate and editor to the model but I failed to have my editor to...
View ArticleHow to connect one ui withe the other.
Here is my Textpad project link. I have two ui files. Now I want to connect signal emitted by action of one ui to the slot that displays the other ui. I want “Help>>About Textpad” in my...
View ArticleQGraphicsProxyWidget can't update its cursor on time(Qt5.0.1)
I’m trying to embed a QWidget based widget in a QGraphicsScene/View. In this widget, I change its cursor with some shortcuts, but when it is embeded to the scene, the cursor won’t update on time. I...
View ArticleA suggestion to QJson related classes...
Typically I write the following to retrieve data from a json document: data[“query”].toObject()[“test”].toArray()1 This is great, but is quite “textful”. I believe the following will be better code:...
View ArticleCan download via web browser but got forbidden error if trying with my Qt code.
I am trying to make downloader and one of things that it should download are videos from youtube. I found out how to get exact download link to download YT video, it looks like this :...
View ArticleCorrectly tearing down a QQuickView- derived window
Hi, I have a window which will be displayed to the user on a regular basis, and I’m using a class derived from QQuickView, setting the source property in the constructor. I was having problems when my...
View Articlestart() Function in QTimer not functioning Properly
I am trying to make a Stopwatch sort of thing using the Qtimer class whose time out function is emitted after every 100 msec using start(100). But its running too fast than 100 msec….the speed goes on...
View Article求教:如何在QML中调用QFileDialog弹出系统标准对话框
在QtQuick 2.0中,比方说点击一个MouseArea,不知如何能实现弹出QFileDialog这样的系统标准对话框。 我试过做一个c++ 扩展插件,里面有个方法使用QFileDialog,但是不知道怎么用才对。 就像这样: void MyPlugin::selectFile(){ QFileDialog *fd=new...
View ArticleFinal question on QQuickWindow vs QWindow Context
I’ve created a QWindow that is able to render my game window via my own QOpenGLContext When I change this window to a QQuickWindow I expected the same to be rendered. But when I change the class I get...
View ArticleQt Creator is very slow with git repositories
I have a really big problem with the use of git + Qt-Creator + OS X. We recently moved from our SVN repository to git. The problem is, that Qt Creator is really slow with the new git repo. Especially...
View ArticleQT5 and SSL: cannot start handshake on non-plain connection
Hello everyone I’m trying to create a small aplication using QSslSocket but the application doesn’t connect with the pop3 server, the code always finish with the errors:...
View ArticleQt5 on Win8 64bit: Library Deployment
—- The issue has been resolved, see the post below. Hello, I’ve recently installed Qt 5.0.1 on my Windows8 ×64 system using mingw 4.7 (32bit). Further I created a new simple GUI project. The app runs...
View ArticleUser Interface Compiler (uic) documentation in Qt 5 misses parameters
User Interface Compiler (uic) documentation in Qt 5 [qt-project.org] misses some parameters, for example: -d, -dependencies -n, -no-implicit-includes -postfix -3 -g, -generator Among those the usage...
View Article