qt

Minimal Qt executable-size

Now that Qt goes LGPL I tend to give it a try again. Years ago I decided against for some reasons, one of them being the huge size of executables (Qt on windows). I found a lower limit of about 5MB. Trolltech affirmed this on request but told me, that the granularity will be improved, which would lead to smaller sizes (depending on requi...

Visaul C++ 2005 hangs during qt builds

At my shop, the main product app is a mongrel built on MFC, QT and other random things devs have thrown in over the years. In the current stack, Qt toolkit is on the way out, but still features heavily. If I have SQL 2005 Management studio open and have to do a full build, it usually hangs a CPU (even after the offending process is take...

How to maintain widgets aspect ratio in Qt?

How is it possible to maintain widgets aspect ratio in Qt and what about centering the widget? ...

How good QT under LGPL for commercial applications?

Hi, Leave some thoughts about what are all the positive and negative things to use LGPL QT for commercial applications. ...

Is there a better layout language than HTML for printing?

I'm using Python and Qt 4.4 and I have to print some pages. Initially I thought I'd use HTML with CSS to produce those pages. But HTML has some limitations. Now the question is: is there anything that's better than HTML but just (or almost) as easy to use? Additionally, it should be GPL-compatible. Edit: kdgregory & Mark G: The most o...

Putting a close button on QTabWidget

I'm using a QTabWidget to render multiple documents in a window, and I want to draw a close button on each tab. I'm using Vista and Qt4, so the tab widget is a native windows control; this may affect the feasibility. Does anyone know if it is possible to do this using the QTabWidget control, or do I have to create a custom widget? If cr...

I want to start Qt development - what basic knowledge in C++ and OS do I have to own?

Hi, I'm going to learn Qt and I just want to know what parts of C++, OO design and other things I must have background in? Templates, RAII, Patterns, ....? ...

Selecting an index in a QListView

This might be a stupid question, but I can't for the life of me figure out how to select the row of a given index in a QListView. QAbstractItemView , QListView's parent has a setCurrentIndex(const QModelIndex &index). The problem is, I can't construct a QModelIndex with the row number I want since the row and column field of the QModelI...

Qt being now released under LGPL, would you recommend it over wxWidgets ?

I am quite a heavy user of wxWidgets, partly because of licensing reasons. How do you see the future of wxWidgets in prospect of the recent announcement of Qt now being released under LGPL? Do you think wxwidget is still a good technical choice for new projects ? Or would you recommand adopting Qt, because it is going to be a de-facto ...

QCompleter and QLineEdit for multiple words

Hello, Is there any way to have the QCompleter to act like an autocomplete for multiple words? Someone has any ideia how to do it? Thanks ...

Blinking background cell in a model

Hello cjhuitt Iám confused about the setData en data methods for my custom role (IsBlinkingRole). I try different options but every option failled. bool CustomSqlModel::setData( const QModelIndex& index, const QVariant& value, int role) { if (role == IsBlinkingRole && index.column() == 0 && index.isValid()) { //What to put here ?...

Qt Toolbar button icons show in Windows after MinGW build, but disappear after being built with g++

I'm developing a PHP IDE similar to Eclipse, but much more light weight. For the interface I'm using Qt 4.4.3 which seems to be working great. I've primarily been using my Windows machine to do most of the coding in Eclipse CDT and using MinGW as the compiler. A couple of days ago I took the code an put it on my Eee PC with Linux just ...

Qt Tutorials?

Does anyone know of a great Qt tutorial for using the designer, I'm new to Qt but I'm intermediate in C++. ...

determine platform Qt application is running on at runtime

Hi all, Is there a (Qt) way to determine the platform a Qt application is running on at runtime? ...

Qt Creator - Opinions and Thoughts

I'm looking for some feedback from anyone that has had a chance to spend some time using Troll Tech's new IDE, Qt Creator. It's in public beta at this point, so there might not be many using it just yet. But, I think any 3rd party feedback might be useful. Also, if you do a lot of Qt development, it would also be great to hear about wh...

How up to date is OpenStep as a development Environment?

Long time ago, the Game Developer magazine published an article about ID Software and their DOOM game. In the article ID states that they used a NeXT Step machine for development with GNU GCC cross compiler. Quoting: By writing in ANSI C on NeXTStep, Id Software is able to develop and test in a true programmer’s environment. Th...

QScintilla scrollbar

When I add a QsciScintilla object to my main window the horizontal scrollbar is active and super wide (tons of apparent white space). Easy fix? ...

How to become a better C++ programmer?

I've been reading about C++ and working with classes and pointers, but now I need to know where to go from here (if it's GUI then it's gonna have to be Qt because it seems the best). ...

Qt Designer and Code Tutorials

I've been looking all over the Internet for a tutorial that teaches the Qt designer and how to add C++ code and functionality to my forms but so far all I can find is either coding using a text-editor or designing forms only. If you know one that has both please let me know of it. Thanks! ...

Creating GUI application completely in QtScript, what is your opinion?

Since QT license change is announced I started to take a look at the QT framework. It looks nice, but I don't like having to use C++. I know there are different bindings for various languages, but QtScript seems most interesting to me. Is it possible to use QtScript to code complete GUI application (with help from UI designer, of course...