Roman
Roman

Reputation: 10403

Is QT the right solution for my cross-platform application?

My App is supposed to run on both Mac and PC. It needs to access the local file system and manipulate it. I also need to be able to resize images and create watermarked images as well as thumbnails. It's important for my user interfaces to look as similar as possible on both platforms.

Therefore I've been looking at QT which seems to be really up to date but I'm not very familiar with C++. I noticed that QT has support for the Webkit engine and wonder if my application UI can be written in HTML and be controlled using C++?

has anyone done this before? Any pros and cons are really appreciated.

Upvotes: 3

Views: 259

Answers (1)

Will Bickford
Will Bickford

Reputation: 5386

Use Qt

Qt has a strong user community and easy-to-use documentation. All of the platform-specific code is packaged up into C++ clases (QImage, QFile, etc.).

Don't Use HTML for a Qt GUI

Caveat: If you plan on using an HTML interface I don't know if Qt is really a good solution. The default UI for Qt is XML-based (at design-time! - at run-time it uses the native platform GUI).

I haven't personally used WebKit to implement any user interfaces with Qt and that is not the intended design. Usually you'll invoke WebKit to display an embedded web page or help file.

Use QML for an HTML-Like Interface in Qt

As pointed out by gvd below, if you want to design your interface using HTML-like technology, then you will want to use QML.

Sources:

Upvotes: 7

Related Questions