Skip to content

My first Qt application

Good bye Java swing, Hello Qt.

Cross platform is very searched for these days, especially with the number of Linux users growing. The need to build an application that can be used everywhere existed for a very long time, and what I intend to present here is not something new, it’s just new to me.

Qt, pronounced „cute”, is a library for C++, but not limited to that, that can be used to write code that can be compiled on/for almost any operating system, including Linux, OS X, Windows, Android, and iOS(still under development).

As a test drive with Qt I’ve read a few things and with the help of an amazing playlist of video tutorials about Qt I’ve managed to build a extremely basic and simple application, just for the sake of testing it’s cross platformness.

For developing with the Qt library, the qt-project website offers an SDK that includes the library and an amazing IDE called Qt Creator that includes not just the text editor and debugger for C++, but also a Designer that can help anyone quickly create a GUI for their application. By the way, did I mention it is cross platform?

Anyhow, here is the project source code the Qt Creator project,  and here is the Linux binary and the Windows binary and ddl. On Ubuntu it should run without any problems (depending on the Ubuntu version), not sure about other Linux distros.

Published inProjectsSoftware

4 Comments

  1. Hello, I am using QtCreator 2.4. When I import image into project, it crashes and close. I don’t know why. Can you give an advice?

    Thank you…

    • Ovidiu-Florin Ovidiu-Florin

      Upgrade Your Qt creator. 2.6.2 is already out. Give that one a go.

        • Ovidiu-Florin Ovidiu-Florin

          I’ve never used the Qt or Qt Creator version from the repos. I recommend you get it from the official location: http://qt-project.org/downloads

Lasă un răspuns