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

How to create an Item from C++ (without QML?)

Hi, I was wondering if someone could tell me if there is a way to instance a QDeclarativeItem (class A, for example) from C++ without using QML and add sub-items to it (like for example MouseArea etc.)...

View Article


Error in compiling QT-5.0 on ubuntu linux

Hi Team I am new to QT and Forum. Error is coming, while compiling QT-5.0 on ubuntu linux os. Error is mentioned below, please provide any pointer, how to fix it. The commands I executed are:...

View Article


Closed Adding files to .pro dependent upon Qt Version

I have a code base that includes several project files based on Mac / Linux / Windows target, one of these is to generate an OpenGL 3.2 context under Mac. Now we have Qt 5 I don’t need this file and...

View Article

Workaround for the static nature of QML? Dynamically structured UI - by the...

There has been a lot of talk about the “dynamic” QML user interfaces. However, the word dynamic comes with a lot of contexts: - it is true that with QML it is easier to make animated UI, which is one...

View Article

MacOS application in Qt widgets/dialogs

Hi, I wan to embed MacOS (10.7.x) application e.g xterm, xcode, openoffice, xclock etc. in qt (4.8.x) widgets/dialogs. Is this achievable? If yes can anyone please guide me how to achieve? I am newbie...

View Article


MacOS application in Qt widgets/dialogs

Hi, I wan to embed MacOS application e.g xterm, xcode, openoffice, xclock etc. in qt widgets/dialogs. Is this achievable? If yes can anyone please guide me how to achieve? I am newbie to Qt so guide me...

View Article

Custom QTreeWidgetItem class in QtScript

Hi, I am trying to make custom qtreewidgetitem class in QtScript. I doing it as: ============ main.h public CustomTreeWidgetItemClass : QTreeWidgetItem { public: CustomTreeWidgetItemClass();...

View Article

Visual Studio Compile 32bit on x64 Machine?

Hi is it somehow possible to compile a 32bit exe on a x64bit Windows Operating system? I build the libraries as here Step 4: Build the Qt Library http://doc-snapshot.qt-project.org/4.8/install-win.html...

View Article


Qt5.0 OpenGL Types and ES #define

Hi, I am porting over my OpenGL application written with Qt 4.8.1 to Qt 5.0, the latter of which I compiled from source for both x86 and x86-64. The application uses OpenGL 2 and GLEW. I am developing...

View Article


Static Plugins problem

Hello, I am writing a desktop Linux application using PostgreSQL. I wanted to add static plugin like here: http://doc.qt.digia.com/qt/plugins-howto.html#static-plugins . I received an error:...

View Article

Qt5 XCode 4.5 SandBoxing Failed to load platform plugin "cocoa" on both Debug...

Hi, Mac OS X Lion XCode 4.5.2 Qt 5.0 Simple test app with a main window and a toolbar When I use SandBoxing in XCode 4.5 (I checked the boxes) I get the following error on both Debug and Release...

View Article

Why does QFontMetrics::maxWidth return such a large value?

Windows 7 SP1 MSVS 2010 Qt 4.8.4 I want to determine the maximum size of a QLineEdit widget knowing the maximum number of characters that must fit into it. Therefore, I want to use: int...

View Article

Trouble debugging Qt source installed from git/gitorious

I have read and followed this [qt-project.org] and here [stackoverflow.com], except I loaded via gitorious rather than apt. Also, my install (after running configure/make/make-install) is located in...

View Article


UIC step not being ran in build using Visual Studio Add-in

I recently upgraded to Qt 5.0.0 and Visual Studio 2010 (from Qt 4.6 and VS 2008). I installed the Qt Visual Studio Add-in, and converted my project to use it (previously i had set up build rules for...

View Article

See SQL on edit/delete of QSqlRelationalTableModel / QTableView row

Is there a way to see the SQL applied when I edit a QTableView row that is attached to a QSqlRelationalTableModel? Thanks.

View Article


اولویت رویداد ماوس

سلام من یک Widget ساختم که رویداد paintEvent اون یک جدول رسم میکنه. میخوام هروقت ماوس روی هرکدوم از سلول های جدول رفت اون سلول به نوعی Highlight بشه. برای اینکه تشخیص بدم نقطه ای که ماوس هست روی سلول...

View Article

Issue with QSqlRelationalTableModel updating Sqlite views

I am attempting to use a “subclassed” QSqlRelationalTableModel object that I wish to use to update a Sqlite view (which passes an update to a table via an “instead-of” trigger.) I have the following...

View Article


Cannot change font size for QTableWidget header in Qt 5.0.0

Using the code snippet below I was able to change the font size for the QTableWidget header in Qt v4.8.2 but the same code compiles and runs in Qt 5.0.0 but does not affect the header font size. Any...

View Article

Trouble in #include or #include

Hello everybody, I am learning Qt programming and confused by the include of QtGui and QtCore with Qt 5.0 SDK. In the book C++Qt programming with Qt 4 2nd Edition, it said that if we want to use...

View Article

QRegularExpression and named capture groups

I would like to see a method for retrieving the names of the capture groups as well as the text captured by them. I want to pass all the captured texts to a Lua table, both numbered and named. I’m not...

View Article
Browsing all 18427 articles
Browse latest View live