QMediaPlayer
Regarding the QMediaPlayer type, what exactly is needed to get it to work? I’m using it to play an mp3 file, and currently it is not working. My code is basically as follows: m_pMediaPlayer =...
View ArticleTree View on QML
Sorry, i’m a bit newbie with about QML stuff. What i’m trying to do is to display a Tree View (Like QTreeView does) with a big amount of items. Is this feasible? I’ve been looking but as far as I know...
View ArticleAnti-Aliasing doesn't work with QWebFrame.render()
I use QWebPage (without QWebView) as a delegate for QListView. Here is the simple code. It is works, but it doesn’t support Anti-Aliasing, the fonts look ugly. Everything works, but without...
View ArticleQtCreator 2.6.2 - c++11 support
Hello, I am currently using QMAKE_CXXFLAGS += -std=c++11 But a lot of features are still missing, are there any other options? Maybe some experimental features?
View ArticleProblem in show image in a MainWindow
I’m trying to create a simple program that load an image from a file and show it in my MainWindow using opencv and Qt! The problems are 2: 1. When I load the image, it show it in the MainWindow only...
View ArticleCentos 6.3 64 bit Install; GLIBCXX_3.4.15 not found
Downloaded the 5.0.1 opensource 64 bit Qt .run file. Executing it gives: ./qt-linux-opensource-5.0.1-x86_64-offline.run: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15’ not found (required by...
View ArticleКомпилирование 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 Article[SOLVED]Quitting a Qthread with blocking while(1)
Hello, I am facing problems in quitting a object running in a thread. Below is the forever while loop which runs in Qthread. while (1) { ...... ...
View Article[Solved] Cannot draw checkbox in QStyledItemDelegate
I have a QStyledItemDelegate derived object for a QTableView derived view. I further delegate the painting and editor creation depending on the model index data type. For bools I wanted to represent...
View ArticleHow to add some padding between QPushButton's boundary and its inner text?
Longer strings don’t look too good in a QPushButton, because there’s no spacing between the text and button’s frame, i. e. the text is placed tightly within the button. Is there a way to add some padding?
View ArticleIncludes in Qt Creator
Hi, I’m trying to figure out how the header pathes are handled in qtcreator. I’ve imported a c++-project with structure like this: src/ dir1/ file1.cpp file1.h … subdir1/ file2.cpp file2.h dir2/...
View Article[SOLVED] "Round" double
Hello guys, i’m with a problem. (I think it’s simple) I’m with a double number: 52.48, and i want to round it to 52.4 only. Without the last number, that in this case is “8”.
View ArticleSegmentation Fault on exit
I’m using Qt on an am335x Starter kit Everything works good but when I close the application I get: Remote process started. bash: line 1: 2527 Segmentation fault DISPLAY=:0.0 /home/ubuntu/pippo -qws...
View Article