Quantcast
Channel: Jobs
Browsing all 18427 articles
Browse latest View live

[solved] qtreeview edit last inserted item

I have a QTreeView. In this view there are groups with some items in it. When I create a new group, I’d like to “select” (highlight) this last inserted item. What is the modelindex of this item? How...

View Article


How to RUN MAPViewer example from qtlocation

Hi, I installed Qt 5.0.1 and added QtLocation,Qt3d to QT SDK. How can I run mapviewer application throws me error qrc:///mapviewer.qml:547: TypeError: Cannot read property ‘length’ of undefined

View Article


QtSerialPort generate help files

Hi, i had built QtSerialPort from source like described in the wiki [qt-project.org]. Now i want to generate the help files but when i execute “qdoc3 serialport.qdoconf” i became this:...

View Article

[SOLVED]QComboBox border-radius issue?

Hello! I am trying to add a border-radius using css but this does not seem to work for a editable QComboBox. For a normal combo box it works fine, the issue appears only when I set the combo box to be...

View Article

QtQuick 2 examples show a zero sized white window with desktop OpenGL build

I am having problems getting QtQuick2 examples to run on a static 5.0.1 build with desktop OpenGL. When the example is launched it shows zero height window on the top left of the desktop, resizing...

View Article


How to pass QAbstractListModel derived class to QML using setProperty?

Hello! On QML side I have an element, that contains a ListView plus some additional elements like scroll bars, control buttons etc. On C++ side I have a QObjectList of some items that I’m passing to my...

View Article

How to implement long polling without openning many QTcpSockets?

because the number of open sockets is limited

View Article

When to call destructor..?

Here is what my class looks like class Window : public QWidget {     Q_OBJECT public:     Window();  static bool  fullscreen; protected:...

View Article


Problems with MAC (string.h: No such file or directory)

Hi my name is Jorge I don’t know if this forum is the correct to this question, if it isn’t I’m sorry… Since two months mi boss give me a proyect in QT developed by other person. He wanted me to learn...

View Article


Mac extras (unified toolbar) segmentation fault

Hi, I wanted to try out qtmacextras on Qt 5.0.1 because I used setUnifiedToolbar() in my Qt 4.7 project. After cloning the repository I tried to build the example project:...

View Article

Unable to insert a row to QSqlRelationalTable model

I’m trying to insert a record to QSqlRelationalTable. If setRelation is called before, foreign key constraint fails. customers table:...

View Article

Load 3d files with Qt3D

Hi i’ve build Qt3D for my Qt version (4.7.4 mingW), and i succefull compiled my small app. Now i want to load my 3D files, but the only file format i can load is .3ds For every other file formats like...

View Article

QT widget doesnt work due to open a file in a QProcess

Hi all, i have here a nice problem. I wrote a small gui for starting a perlscript. This script prints out the stuff which is defined in my gui.After that i write a file with the variables and start...

View Article


Exposing enum values in Qt Quick Designer (with a nice combobox)

Hi, I wrote a simple plugin that exposes an enum property. It’s a QtQuick2 extension plugin, loaded dynamically, and described by a plugin.qmltypes file, autogenerated using qmlplugindump. Everything...

View Article

QML ListView currentItem doesn't change after a sort

Hello. I have a ListView tied to a QAbstractListModel in C++ by way of a QSortFilterProxyModel so the list contents can be sorted (dynamic sorting is enabled). My problem is simple: Say the ListView...

View Article


Write Qt applications with Qt Creator for Windows CE

Hello. I have installed VS2008 Pro with the qt-vs-addin-1.1.10 and build qt-everywhere-opensource-src-4.7.4 for Windows CE. Now I’m able to write compile and run Qt applications for Windows CE with...

View Article

qt-designer : Problems with splitters

I get the following layout : - an upper Horizontal layout A – a lower Horizontal layout B I can make an horizontal splitter between A and B But now, in B, I get 3 vertical layouts D,E and F in that...

View Article


QVideoProbe not connecting to QMediaPlayer

Hello, I do everything as described in the documentation [qt-project.org], the video plays, but the probe is not connecting void MainWindow::initVideo() {     QWidget...

View Article

Delete video player.

Hello developers. I’ m finding problems to remove a video, when they was playing. I try stop the video using:            ...

View Article

Antialiasing does not work with QGraphicsView

I have a simple application using Qt 5.0.1, it looks like: MainWindow::MainWindow(QWidget *parent) :     QMainWindow(parent),     ui(new Ui::MainWindow) {  ...

View Article
Browsing all 18427 articles
Browse latest View live