Which GUI library is used to develop Firefox?
Qt? GTK+? Windows native?
Firefox uses a number of GUI toolkits, including the native Windows one, as well as GTK+ for X platforms. Sadly, there is no official support for Qt.
I heard that firefox is using their own GUI based off of XML and its called XUL. At least that's what it sounds like if your read their articles on XUL.
Related
Am i able to create an OS's User Interface with Qt's .ui file?(Qt .ui file is an xml file)
This confused me long time already,bcuz in http://qt.io
you can see
BUILT WITH Qt
LG’s webOS
The answer is yes and Qt is a cross-platform application development framework. Some of the well known applications developed with Qt are KDE, Opera, Google Earth, and Skype. Qt was first publicly released on May 1995. It is dual licensed. That means, it can be used for creating open source applications as well as commercial ones. Qt toolkit is a very powerful toolkit.
I want to develop a custom window system in c++ that should not depend on win32 library. As an example, Google Chrome has an interface that is not similar to windows own interface. Similarly MPCstar and adobe products have their own interfaces. Please help me where to start for such a project?
You can use cross platform
Qt
or
wxWidgets
but in my opinion Qt is better.
Qt is awesome even if you don't need cross platform support. I assure you after using it you won't understand how anyone could ever develop native GUI on frameworks like Win32 and MFC. Its only shortcoming is the size of the DLLs you'll have to distribute with your app.
BTW is C++ a prerequisite? if not, and you only need windows, use .Net.
I believe Qt should do the trick. I've never used it myself but it is platform independent. I know a few applications that use it, and it seems fine.
Qt and WxWidgets are the better options. And since its GUI I think Qt performs better and has greater support and lots of libraries.
Find Qt here!
I have been learning C++ for a while now, and so far I love it. But I have been stuck at the console application level. I have built C# programs for a few years so I love having a GUI and not do everything via console.
Console programs when compiled will work on both windows and linux, which is great. When I was searching GUI C++ tutorials I could only find tutorials for windows specific GUI applications.
So my question is this, can you program a GUI in C++ that when compiled with run on both windows and linux? If this is not possible, can someone point me to a great place to learn windows and linux GUI?
I suggest you to use Qt by Nokia:
http://qt.nokia.com/products/
It is free, very powerful, very easy to use, and well designed. And there is also a Visual Studio Add-in available:
http://developer.qt.nokia.com/wiki/QtVSAddin
but you can use their own cross-platform IDE called Qt Creator as well.
You can use wxWidget library.
Yes, you need to use a cross platform GUI toolkit like WxWidgets
gtk and gtkmm http://www.gtkmm.org/en/
Indeed, using cross-platform GUI libraries (like Qt, Gtk, WxWidgets) help you to have the same source code working on Linux and Windows. I recommend Qt if coding in C++.
But there is no way to build an executable working on both systems (unless you use wine to emulate Windows on Linux, which I don't recommend in your case).
In Windows, I can use Shell_NotifyIcon(). What is the Linux equivalent of this function?
Is it different in GNOME (gtk) and KDE (qt)? Can't find any tutorials on the Internet.
Yes, it depends on a desktop environment you're using.
In Qt (KDE), you can do this in a cross-platform manner using QSystemTrayIcon.
There is even a sample application in Qt.
In GTK, you do this with GtkStatusIcon. There is a sample application in this blog post.
All major desktop support the current XEmbed based systray icon specification. Qt and GTK both provide facilities to use that protocol in comfortable manner. Regardless of your toolkit choice the icons will appear on all desktop environments. If you use Qt you get even compatability with other platforms like Windows for free.
For Gnome, there's this tutorial and the gtkmm toolkit for C++
EDIT: This is for panel applets, you asked for system tray icons. They're similar, but not quite the same. Go with Reed's answer.
I have an existing application created using Qt for the Symbian operating system and I want to port it to Windows Mobile devices.
I'm expecting some presentation differences. What additional things should I look out for?
Qt strives for exactly this kind of cross-platform development, so the library itself should handle everything.
I'm not an expert on mobile devices, but a simple recompile should work just fine, assuming your code uses the abstractions Qt provides (no native calls, qptrdiff, Q_INT64_C(), etc.).