qt

How to fullscreen a QGLWidget?

I am new to OpenGL and Qt, and I am learning both simultaneously(3 days already:). I couple of years ago I did some exmerimenting with DirectX and I clearly remember that it was possible to make a full-screen window there. By full-screen I mean really full-screen, even without the top part where you have the close fullscreen and minimize...

Mac Qt4: PyQt 4.8 installation error (Need help)

Hi everyone, hope someone of you can help me. I'm new to mac and qt, so please forgive me if I ask some dumb questions. So to the problem. I want to install PyQt 4.8 on the macbook (Mac OS X 10.6.4). First I installed Qt 4.7 like in this description http://doc.trolltech.com/4.7/install-mac.html. Then I installed sip 4.11.2 (without --...

Qt dll deployment on windows

Hi all! I have got a strange problem with my deployment of an Qt application. I created a Zip with all the necessary dlls and my binary on my Windows XP 32 bit box, where the application worked just fine, Then I tested this on my laptop running windows 7 64 bit, giving me strange results. The window icons are back to the default ones a...

How to select an QGraphicsItem without selecting whole group (to which this item belongs)

I wonder if it is possible to select item that belongs to one group, without selecting whole group. What I trying to make is a group of items, that can be moved (all items are moved together) but none of them can't be moved individually. But I want also to be able to select items inside this group and then do something with them, like r...

QT and C#: Can I mix them for mobile development?

I heard, c#.net and QT can be mixed for mobile development. I shall like to share of your experience with the same. Basically, we have c#.Net background and wish to reuse the skill/knowledge of these for expanding products into mobile platform. We have seen J2ME. But it needs specific skill/resource development. We shall prefer .Net for...

ODBC driver use in Qt

Hi all, I wanted to use read and write mdb file (Ms Access file) and I am completely new in using ODBC in Qt. So can anyone help me to know whether should i need to download the drivers and if yes then from where can i download ? and if you know about connectivity then any help would be appriciated. ...

what's meant by "Charge for development licenses"

Hi I was downloading Qt creator IDE and they say "Charge for development licenses" with a (True) under Commercial and (FALSE) under LGPL. Also I need to know something general About QT library. is it free so I can make (commercial products and sell ) or I will have to buy something to do that. EDIT: the page is Actually about QT t...

QT plugin loader doesn't instantiate a UI plugin

I've done a QT (4.6.3) program/GUI that loads plugins in real time and this works wonderfully. Now I've just created a new plugin that differs from all the others because it has a .ui file as it should show a Dialog GUI when executed. Well, it cannot be instantiated by the plugin loader. I've already tried to comment only the part with ...

Qt Hide Taskbar Item

I have a custom QWidget and I simple don't want it to show up in the taskbar. I have a QSystemTrayIcon for managing exiting/minimizing etc. ...

QT: QFileSystemModel _q_fileSystemChanged slot is executed on the UI thread which contradicts documentation

Hello, My UI is using QTreeView with QFileSystemModel to be able to select folders and files. The documentation for QFileSystemModel says that file structure update is done on a seperate thread which would mean the UI would not be blocked. However, this is not the case for me and I can't figure out the discreptency and how other peopl...

C++ basic qt question

Hello! Does someone know a fast way to add the ability to rotate and move a 3D model using Qt? Obviously, I have to make changes to the world matrix based on the mouse and keyboard movements, and hence I should somehow handle the appropriate mouseEvents and keyboardEvens. For a 3d camera this seems a bit tricky and although I could im...

Detect arrow key input in qt

How would I detect the pressing of one of the arrow keys in qt? Also, would the application still detect them if it is minimized? ...

How to simulate a message bus in Qt?

I need to implement a simple message bus: One process only thus no need do D-Bus. Publish/subscribe to typed events (Could even be QObjects) I was thinking of using QSignalMapper to tag the "named events", then re-emitting from a slot or connecting the publishers signal to the subscriber's signal... Any suggestions thoughts? Or sho...

Missing rules XML file for qt's 'uic3 -convert'

I'm trying to run uic3 -convert to convert some QT3 .ui files to QT4. When I run it, uic3 reports that it's unable to find the rules file (q3porting.xml). Where does uic3 look for the q3porting.xml file Can I pass the rules file as an argument on the command line (similarly to using qt3to4 -rulesFile)? If not, what else can I do? ...

How to use a QTCPServer in multiple threads?

I am trying to write a webserver that processes requests from multiple clients simultaneously. The way it is designed, only one request can be processed at a time. What I need is a way to call nextPendingConnection() and then dispatch the connection to a separate thread for processing. Is there any way to do this? ...

Ruby, Qt and third party widgets

I'm learning Ruby and, for this, I'm writing an application in it. My background is in C++/Qt. So I've started writing a Ruby/Qt app. But there's a few previously written widgets (C++) I would like to use, besides qwt. Is this possible? If it is, how should I do it? PS: It seems QtRuby from Korundum bindings do includes Qwt bindings. ...

Qt: Qmake does not support build directories below the source directory

Heyo, Qt Newbie here. I have created an application that compiles and runs like a charm on OS-X. I would now like to start getting it to work on Windows. To start, I copied the project to a windows machine and just tried to compile, but got this error: :: warning: Qmake does not support build directories below the source directory...

QT LIECENSING PROBLEM

I ve downloaded qt 4.5.0 evaluation but during installation it asks for a license key but i don't have a one so please help me out. Is there any way by which I can download a free GPL or LGPL license key for qt 4.5.0 or i would have to download the full qt SDK for windows???? I know it's a noobish question but i ll be really thankful to ...

What IDE / compiler combination should a Linux user use to build Qt apps on Windows while avoiding MS Visual Studio?

I can't help it; I know many people will disagree, but I would really like to avoid Visual Studio as much as possible. My ideal combination would be gcc + Netbeans. I already use those to code in Linux. But my issue is compatibility. For example, there is a library that I want to use that is supposed to work for .NET and Java. Does this...

having problems with slots

hi. i'm programming in qt and i have encountered a weird problem when i'm adding new slot i'm getting this error message :: error: collect2: ld returned 1 exit status this is the code: class Widget : public QWidget { Q_OBJECT public: explicit Widget(QWidget *parent = 0); void setVisible(bool visible); ~Widget(); ...