How to draw a rounded line shape using Qt??

How can I draw rounded line shape using QT. like this image.I need to design a rounded line when the button click. ...

Draw a line and curves with fading edges with QPainter?

QPainter is very easy to use and to draw a line one would simply do this: QPainter painter(&image); QPen pen; p...

Clear Transparent Background for QWidget?

I have a widget as on overlay for another widget. The transparency works fine, as long as I don't clear the backgrou...

How to change string into QString??

What is the most basic way to do it? ...

How to convert int to QString??

Is there a QString function which takes an int and outputs it as a QString? ...

How to display text in main window??

I'm new to Qt and I'm having a hard time finding a simple example illustrating how to display some text on the main ...

Switch windows in QT GUI app?

I am trying to make a link between my 3 windows , so I put this in my mainwindow.h : #ifndef MAINWINDOW_H #define M...

/opt/project/Qt/spreadsheet/cell.h:0: Note: No relevant classes found. No output generated?

/opt/project/Qt/spreadsheet/cell.h:0: Note: No relevant classes found. No output generated. Hi to all, I've centos6....

Qt - What to use for a text box?

I'm new to Qt, and just want to ask. What should I use to make a text box? Thanks. ...

How do I create a pause/wait function using Qt??

I'm playing around with Qt, and I want to create a simple pause between two commands. However it won't seem to let m...

What does dot and dotdot means?

What is the meaning of dot and dotdot when listing folders using QDir::entryList? It is not really obvious to me. ...

Compress string with GZip using qCompress??

I have a string of hex data (0a000a0165787a... etc) that I write to a file like this: void Output(QString FilePath,...

How to replace 'gluOrtho2d' in a Qt app?

I am working on bring back to life a program I wrote seven years ago. It is all written in Qt and uses some OpenGL ...

“Symbol(s) not found for architecture x86_64” on QtCreator project?

I'm getting the error Symbol(s) not found for architecture x86_64 Trying to compile a project on QtCreator. It ha...