Questions tagged [qt4.6]

For issues relating to using the Qt framework, version 4.6.

Qt (pronounced officially as cute (/kyut/) though commonly pronounced as Q.T. (/ˈkyu ti/)) is a cross-platform application development framework widely used for the development of GUI programs (in which case it is known as a widget toolkit), and also used for developing non-GUI programs such as console tools and servers. wikipedia

Qt can be downloaded here.

Qt was created by Trolltech, and is currently developed and maintained by Digia.

53 questions
3
votes
1 answer

How to prevent timeout removal of gestures in MayBeGesture state?

I am in the process of implementing a touch-based input system, using Qt 4.6.3 running on Microsoft Windows 7. To keep state machines at a manageable complexity I decided to go with the framework's gesture recognition infrastructure. I have been…
IInspectable
  • 46,945
  • 8
  • 85
  • 181
2
votes
1 answer

Debugger for qt in windows?

While I try to debug the application, it pop up the dialog box and shown as below. How to overcome this issue?
karthik
  • 17,453
  • 70
  • 78
  • 122
2
votes
1 answer

How to make keyword to work instantly with no delay in Qt::4.6 (C++)?

OS:: win xp sp3. Qt:: 4.6 I have class Gameboard in which i have some rectangle.I defined keyPressEvent for that rectangle in order to move him around the screen.Key_A :: rectangle.moveToLeft & Key_D :: rectangle.moveToRight.Problem is that keys…
nik_02
  • 53
  • 1
  • 6
2
votes
3 answers

how to use Qt setWindowFilePath

I can't seem to get setWindowFilePath to work in any of my projects. The value is stored and can be retrieved, but it never shows up in the title bar of my app. It does work correctly in a sample app I downloaded, but I can't find what they do…
David Burson
  • 2,947
  • 7
  • 32
  • 55
2
votes
1 answer

How can I make a transparent window stay on top?

I'm trying to make a transparent window stays on top (z-order). I want to implement something like layer that indicates some parameters on the other program. So what I need is to make background transparent, not whole widget with…
nzer0
  • 315
  • 2
  • 10
2
votes
1 answer

Raise modal QDialog when user tries to activate MainWindow

we have a QMainWindow containing several QDialogs which are opened using exec() and are therefore modal (which is the desired behaviour). Now, when the user has one of these dialogs open, chooses to do interact with some external program (e.g.…
Bowdzone
  • 3,827
  • 11
  • 39
  • 52
2
votes
1 answer

Create Simple qml application

I am new to Qt. I am creating simple qml application. Qt Version :- QMake version 2.01a Using Qt version 4.6.2 I am on Linux system. I have created qml containing two buttons(button.qml) and also created c++ code(main.cpp). Code for…
user3013022
  • 196
  • 1
  • 3
  • 16
2
votes
0 answers

Flush mouse events to a disabled widget

I have a Dialog with few buttons. When I disable the dialog, and I click on a child button, nothing happens. But as soon as I enable the Dialog again, the mouse event for the button is handled. Does disabling a Dialog simply delays handling of any…
Lata Agrawal
  • 81
  • 1
  • 8
1
vote
1 answer

How to draw pixels from display buffer?

Is there any example Qt code which displays the image from an unsigned char display buffer? Each byte on the buffer corresponds to the Gray scale pixel color. The content of the display buffer changes at run time in specified intervals. I need to…
indira
  • 6,569
  • 18
  • 65
  • 80
1
vote
2 answers

Identifying messages in a Qt Linguist translation file (TS file)

I hope this is the right forum to ask this question. If it is not, please redirect me to a more suitable forum. I am trying to understand the format of a Qt Linguist TS file. I have modified a file and when I try to open it I get the error message…
Giorgio
  • 5,023
  • 6
  • 41
  • 71
1
vote
1 answer

How to convert colour to greyscale image in openCV?

Hi I have read the openCV reference from this site and using the following code: VideoCapture mCap; Mat mcolImage, mbwImage; mCap >> mcolImage; // New frames from the camera cvtColor( mcolImage, mcolImage, CV_BGR2RGB); …
Dark Star1
  • 6,986
  • 16
  • 73
  • 121
1
vote
2 answers

How to integrate opencv2.2 with Qt4.7 in OSX 10.6.6?

I'm trying to integrate the opencv2.2 library with Qt4.7 creator on the mac and running into problems. Most of which I've resolved to some degree. I downloaded the opencv2.2 tar.gz library and untar'ed it to a sub-directory under my home folder…
Dark Star1
  • 6,986
  • 16
  • 73
  • 121
1
vote
2 answers

Using QGraphicsWebView to render HTML and access the raw bits

I believe it's possible to render HTML to a QGraphicsWebView and get access to the raw bits that comprise the page. My question is: do I also need a QGraphicsScene, QGraphicsView etc. etc. if all I need is a single HTML widget? I have something…
1
vote
1 answer

How to get frameGeometry without showing the window

Is there anyway to get the correct frameGeometry for a window for which show() has not yet been called? In general it seems that frameGeometry() == geometry() before a window is shown on the screen. I don't want to call show() first and then move…
edA-qa mort-ora-y
  • 30,295
  • 39
  • 137
  • 267
1
vote
1 answer

How can I add a package to Qt

I downloaded a package called QtIOCompressor, I need to use the functionality like zipping a directory gzipping a directory etc etc in a application I am coding. But I dont know how to add this package into Qt or how to configure this package by…
defiant
  • 3,161
  • 11
  • 41
  • 65