qt4.6

how to calculate qfont pixel size from point size

How do I convert my font on a QGraphicsObject from point size to pixel size? I need to do this so the fonts will look right when I print my QGraphicsScene using QGraphicsScene::render(). ...

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 which i can use it with my application which i may code in future! InfO: http://doc.qt.nokia...

QMainWindow problem on Mac OS X

I have a Qt-based program, and I uses QMainWindow somewhere in the UI part. This program works fine on both Windows (windows 7) and linux (Ubuntu 10.04), however, when I try to run it on MAC, some UI problem occurs. The Central widget of QMainWindow shows up correctly, but the frame (where the "minimize", "maximize", "close" buttons sh...

Cause QTextBrowser to NOT try to load external resources

We've implemented a subclass of QTextBrowser to act as a local cache. We've overriden loadResource to provide all the resources requested. This works well as long as the resource is properly formatted. However, if there is some problem with the resource then Qt will try to load the resource itself. We'd like to disable that functiona...