Graphical User Interface [closed]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I am doing development in C++. I heard that GTK is being replaced by Wayland.
Which GUI libraries are suitable for C++ for long-term?
gui c++ gtk3 wayland
closed as too broad by Pilot6, dadexix86, wjandrea, Kevin Bowen, muru Jun 11 at 3:18
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |Â
up vote
0
down vote
favorite
I am doing development in C++. I heard that GTK is being replaced by Wayland.
Which GUI libraries are suitable for C++ for long-term?
gui c++ gtk3 wayland
closed as too broad by Pilot6, dadexix86, wjandrea, Kevin Bowen, muru Jun 11 at 3:18
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Did you check package of QT-Designer ?! There is QT 5 in the meantime. Here is a link: wiki.qt.io/Install_Qt_5_on_Ubuntu
â dschinn1001
Jun 10 at 19:09
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am doing development in C++. I heard that GTK is being replaced by Wayland.
Which GUI libraries are suitable for C++ for long-term?
gui c++ gtk3 wayland
I am doing development in C++. I heard that GTK is being replaced by Wayland.
Which GUI libraries are suitable for C++ for long-term?
gui c++ gtk3 wayland
edited Jun 10 at 19:22
Florian Diesch
62.3k16156176
62.3k16156176
asked Jun 10 at 18:31
gnwdjybwb
162
162
closed as too broad by Pilot6, dadexix86, wjandrea, Kevin Bowen, muru Jun 11 at 3:18
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by Pilot6, dadexix86, wjandrea, Kevin Bowen, muru Jun 11 at 3:18
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Did you check package of QT-Designer ?! There is QT 5 in the meantime. Here is a link: wiki.qt.io/Install_Qt_5_on_Ubuntu
â dschinn1001
Jun 10 at 19:09
add a comment |Â
Did you check package of QT-Designer ?! There is QT 5 in the meantime. Here is a link: wiki.qt.io/Install_Qt_5_on_Ubuntu
â dschinn1001
Jun 10 at 19:09
Did you check package of QT-Designer ?! There is QT 5 in the meantime. Here is a link: wiki.qt.io/Install_Qt_5_on_Ubuntu
â dschinn1001
Jun 10 at 19:09
Did you check package of QT-Designer ?! There is QT 5 in the meantime. Here is a link: wiki.qt.io/Install_Qt_5_on_Ubuntu
â dschinn1001
Jun 10 at 19:09
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
4
down vote
Wayland is a replacement for X11. GTK+ is still the GUI toolkit used by GNOME and some other desktop environments and there are no plans to replace it.
The two big GUI libraries for Linux are Qt and GTK+. Both can be used with C++ and are likely to stay for the foreseeable future.
Which one is better for you depends on which desktop environment is your primary target. Both libraries can be used with any desktop environment but your app will have a different look and feel if it's using the "wrong" GUI toolkit for your desktop environment.
If you want your app to be used on other systems than Linux Qt is usually the better choice.
add a comment |Â
up vote
1
down vote
Glade
Although you can use C++ code to instantiate and arrange widgets, this can soon become tedious and repetitive. And it requires a recompilation to show changes. The Glade application allows you to layout widgets on screen and then save an XML description of the arrangement.
This has the following advantages:
- Less C++ code is required.
- UI changes can be seen more quickly, so UIs are able to improve.
- Designers without programming skills can create and edit UIs.
The user interfaces designed in Glade are stored in the well-known XML format, enabling easy integration with external tools. You will probably want to use it with tools such as libglade, which can load the XML files and create the interfaces at runtime.
To install Glade GTK+ User Interface Builder in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install glade
To install only the development files for the GTK+ library without installing Glade type:
sudo apt install libgtk-3-dev
Qt Creator
Qt Creator is a cross-platform integrated development environment (IDE) designed to make development with the Qt application framework faster and easier.
It includes:
- An advanced C++ code editor
- Integrated GUI layout and forms designer
- Project and build management tools
- Integrated, context-sensitive help system
- Visual debugger
- Rapid code navigation tools
- Supports multiple platforms
- Qt Quick Designer
To install QT Creator in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install qtcreator
$ apt-cache depends qtcreator | grep qt
qtcreator
Depends: libqt5sql5-sqlite
Depends: qml-module-qtqml-models2
Depends: qml-module-qtquick-controls
Depends: qml-module-qtquick2
Depends: qtchooser
qtchooser:i386
Depends: qtcreator-data
Depends: libqbsqtprofilesetup1.10
Depends: libqt5concurrent5
Depends: libqt5core5a
Depends: libqt5designer5
Depends: libqt5designercomponents5
Depends: libqt5gui5
Depends: libqt5help5
Depends: libqt5network5
Depends: libqt5printsupport5
Depends: libqt5qml5
Depends: libqt5quick5
Depends: libqt5quickwidgets5
Depends: libqt5sql5
Depends: libqt5widgets5
Depends: libqt5xml5
Depends: <qtdeclarative-abi-5-9-5>
libqt5qml5
Recommends: qt5-doc
Recommends: qt5-qmltooling-plugins
Recommends: qtbase5-dev-tools
qtbase5-dev-tools:i386
Recommends: qtcreator-doc
Recommends: qtdeclarative5-dev-tools
qtdeclarative5-dev-tools:i386
Recommends: qttools5-dev-tools
qttools5-dev-tools:i386
Recommends: qttranslations5-l10n
Recommends: qtxmlpatterns5-dev-tools
qtxmlpatterns5-dev-tools:i386
qterminal
(Click image to enlarge)
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
Wayland is a replacement for X11. GTK+ is still the GUI toolkit used by GNOME and some other desktop environments and there are no plans to replace it.
The two big GUI libraries for Linux are Qt and GTK+. Both can be used with C++ and are likely to stay for the foreseeable future.
Which one is better for you depends on which desktop environment is your primary target. Both libraries can be used with any desktop environment but your app will have a different look and feel if it's using the "wrong" GUI toolkit for your desktop environment.
If you want your app to be used on other systems than Linux Qt is usually the better choice.
add a comment |Â
up vote
4
down vote
Wayland is a replacement for X11. GTK+ is still the GUI toolkit used by GNOME and some other desktop environments and there are no plans to replace it.
The two big GUI libraries for Linux are Qt and GTK+. Both can be used with C++ and are likely to stay for the foreseeable future.
Which one is better for you depends on which desktop environment is your primary target. Both libraries can be used with any desktop environment but your app will have a different look and feel if it's using the "wrong" GUI toolkit for your desktop environment.
If you want your app to be used on other systems than Linux Qt is usually the better choice.
add a comment |Â
up vote
4
down vote
up vote
4
down vote
Wayland is a replacement for X11. GTK+ is still the GUI toolkit used by GNOME and some other desktop environments and there are no plans to replace it.
The two big GUI libraries for Linux are Qt and GTK+. Both can be used with C++ and are likely to stay for the foreseeable future.
Which one is better for you depends on which desktop environment is your primary target. Both libraries can be used with any desktop environment but your app will have a different look and feel if it's using the "wrong" GUI toolkit for your desktop environment.
If you want your app to be used on other systems than Linux Qt is usually the better choice.
Wayland is a replacement for X11. GTK+ is still the GUI toolkit used by GNOME and some other desktop environments and there are no plans to replace it.
The two big GUI libraries for Linux are Qt and GTK+. Both can be used with C++ and are likely to stay for the foreseeable future.
Which one is better for you depends on which desktop environment is your primary target. Both libraries can be used with any desktop environment but your app will have a different look and feel if it's using the "wrong" GUI toolkit for your desktop environment.
If you want your app to be used on other systems than Linux Qt is usually the better choice.
answered Jun 10 at 19:14
Florian Diesch
62.3k16156176
62.3k16156176
add a comment |Â
add a comment |Â
up vote
1
down vote
Glade
Although you can use C++ code to instantiate and arrange widgets, this can soon become tedious and repetitive. And it requires a recompilation to show changes. The Glade application allows you to layout widgets on screen and then save an XML description of the arrangement.
This has the following advantages:
- Less C++ code is required.
- UI changes can be seen more quickly, so UIs are able to improve.
- Designers without programming skills can create and edit UIs.
The user interfaces designed in Glade are stored in the well-known XML format, enabling easy integration with external tools. You will probably want to use it with tools such as libglade, which can load the XML files and create the interfaces at runtime.
To install Glade GTK+ User Interface Builder in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install glade
To install only the development files for the GTK+ library without installing Glade type:
sudo apt install libgtk-3-dev
Qt Creator
Qt Creator is a cross-platform integrated development environment (IDE) designed to make development with the Qt application framework faster and easier.
It includes:
- An advanced C++ code editor
- Integrated GUI layout and forms designer
- Project and build management tools
- Integrated, context-sensitive help system
- Visual debugger
- Rapid code navigation tools
- Supports multiple platforms
- Qt Quick Designer
To install QT Creator in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install qtcreator
$ apt-cache depends qtcreator | grep qt
qtcreator
Depends: libqt5sql5-sqlite
Depends: qml-module-qtqml-models2
Depends: qml-module-qtquick-controls
Depends: qml-module-qtquick2
Depends: qtchooser
qtchooser:i386
Depends: qtcreator-data
Depends: libqbsqtprofilesetup1.10
Depends: libqt5concurrent5
Depends: libqt5core5a
Depends: libqt5designer5
Depends: libqt5designercomponents5
Depends: libqt5gui5
Depends: libqt5help5
Depends: libqt5network5
Depends: libqt5printsupport5
Depends: libqt5qml5
Depends: libqt5quick5
Depends: libqt5quickwidgets5
Depends: libqt5sql5
Depends: libqt5widgets5
Depends: libqt5xml5
Depends: <qtdeclarative-abi-5-9-5>
libqt5qml5
Recommends: qt5-doc
Recommends: qt5-qmltooling-plugins
Recommends: qtbase5-dev-tools
qtbase5-dev-tools:i386
Recommends: qtcreator-doc
Recommends: qtdeclarative5-dev-tools
qtdeclarative5-dev-tools:i386
Recommends: qttools5-dev-tools
qttools5-dev-tools:i386
Recommends: qttranslations5-l10n
Recommends: qtxmlpatterns5-dev-tools
qtxmlpatterns5-dev-tools:i386
qterminal
(Click image to enlarge)
add a comment |Â
up vote
1
down vote
Glade
Although you can use C++ code to instantiate and arrange widgets, this can soon become tedious and repetitive. And it requires a recompilation to show changes. The Glade application allows you to layout widgets on screen and then save an XML description of the arrangement.
This has the following advantages:
- Less C++ code is required.
- UI changes can be seen more quickly, so UIs are able to improve.
- Designers without programming skills can create and edit UIs.
The user interfaces designed in Glade are stored in the well-known XML format, enabling easy integration with external tools. You will probably want to use it with tools such as libglade, which can load the XML files and create the interfaces at runtime.
To install Glade GTK+ User Interface Builder in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install glade
To install only the development files for the GTK+ library without installing Glade type:
sudo apt install libgtk-3-dev
Qt Creator
Qt Creator is a cross-platform integrated development environment (IDE) designed to make development with the Qt application framework faster and easier.
It includes:
- An advanced C++ code editor
- Integrated GUI layout and forms designer
- Project and build management tools
- Integrated, context-sensitive help system
- Visual debugger
- Rapid code navigation tools
- Supports multiple platforms
- Qt Quick Designer
To install QT Creator in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install qtcreator
$ apt-cache depends qtcreator | grep qt
qtcreator
Depends: libqt5sql5-sqlite
Depends: qml-module-qtqml-models2
Depends: qml-module-qtquick-controls
Depends: qml-module-qtquick2
Depends: qtchooser
qtchooser:i386
Depends: qtcreator-data
Depends: libqbsqtprofilesetup1.10
Depends: libqt5concurrent5
Depends: libqt5core5a
Depends: libqt5designer5
Depends: libqt5designercomponents5
Depends: libqt5gui5
Depends: libqt5help5
Depends: libqt5network5
Depends: libqt5printsupport5
Depends: libqt5qml5
Depends: libqt5quick5
Depends: libqt5quickwidgets5
Depends: libqt5sql5
Depends: libqt5widgets5
Depends: libqt5xml5
Depends: <qtdeclarative-abi-5-9-5>
libqt5qml5
Recommends: qt5-doc
Recommends: qt5-qmltooling-plugins
Recommends: qtbase5-dev-tools
qtbase5-dev-tools:i386
Recommends: qtcreator-doc
Recommends: qtdeclarative5-dev-tools
qtdeclarative5-dev-tools:i386
Recommends: qttools5-dev-tools
qttools5-dev-tools:i386
Recommends: qttranslations5-l10n
Recommends: qtxmlpatterns5-dev-tools
qtxmlpatterns5-dev-tools:i386
qterminal
(Click image to enlarge)
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Glade
Although you can use C++ code to instantiate and arrange widgets, this can soon become tedious and repetitive. And it requires a recompilation to show changes. The Glade application allows you to layout widgets on screen and then save an XML description of the arrangement.
This has the following advantages:
- Less C++ code is required.
- UI changes can be seen more quickly, so UIs are able to improve.
- Designers without programming skills can create and edit UIs.
The user interfaces designed in Glade are stored in the well-known XML format, enabling easy integration with external tools. You will probably want to use it with tools such as libglade, which can load the XML files and create the interfaces at runtime.
To install Glade GTK+ User Interface Builder in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install glade
To install only the development files for the GTK+ library without installing Glade type:
sudo apt install libgtk-3-dev
Qt Creator
Qt Creator is a cross-platform integrated development environment (IDE) designed to make development with the Qt application framework faster and easier.
It includes:
- An advanced C++ code editor
- Integrated GUI layout and forms designer
- Project and build management tools
- Integrated, context-sensitive help system
- Visual debugger
- Rapid code navigation tools
- Supports multiple platforms
- Qt Quick Designer
To install QT Creator in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install qtcreator
$ apt-cache depends qtcreator | grep qt
qtcreator
Depends: libqt5sql5-sqlite
Depends: qml-module-qtqml-models2
Depends: qml-module-qtquick-controls
Depends: qml-module-qtquick2
Depends: qtchooser
qtchooser:i386
Depends: qtcreator-data
Depends: libqbsqtprofilesetup1.10
Depends: libqt5concurrent5
Depends: libqt5core5a
Depends: libqt5designer5
Depends: libqt5designercomponents5
Depends: libqt5gui5
Depends: libqt5help5
Depends: libqt5network5
Depends: libqt5printsupport5
Depends: libqt5qml5
Depends: libqt5quick5
Depends: libqt5quickwidgets5
Depends: libqt5sql5
Depends: libqt5widgets5
Depends: libqt5xml5
Depends: <qtdeclarative-abi-5-9-5>
libqt5qml5
Recommends: qt5-doc
Recommends: qt5-qmltooling-plugins
Recommends: qtbase5-dev-tools
qtbase5-dev-tools:i386
Recommends: qtcreator-doc
Recommends: qtdeclarative5-dev-tools
qtdeclarative5-dev-tools:i386
Recommends: qttools5-dev-tools
qttools5-dev-tools:i386
Recommends: qttranslations5-l10n
Recommends: qtxmlpatterns5-dev-tools
qtxmlpatterns5-dev-tools:i386
qterminal
(Click image to enlarge)
Glade
Although you can use C++ code to instantiate and arrange widgets, this can soon become tedious and repetitive. And it requires a recompilation to show changes. The Glade application allows you to layout widgets on screen and then save an XML description of the arrangement.
This has the following advantages:
- Less C++ code is required.
- UI changes can be seen more quickly, so UIs are able to improve.
- Designers without programming skills can create and edit UIs.
The user interfaces designed in Glade are stored in the well-known XML format, enabling easy integration with external tools. You will probably want to use it with tools such as libglade, which can load the XML files and create the interfaces at runtime.
To install Glade GTK+ User Interface Builder in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install glade
To install only the development files for the GTK+ library without installing Glade type:
sudo apt install libgtk-3-dev
Qt Creator
Qt Creator is a cross-platform integrated development environment (IDE) designed to make development with the Qt application framework faster and easier.
It includes:
- An advanced C++ code editor
- Integrated GUI layout and forms designer
- Project and build management tools
- Integrated, context-sensitive help system
- Visual debugger
- Rapid code navigation tools
- Supports multiple platforms
- Qt Quick Designer
To install QT Creator in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install qtcreator
$ apt-cache depends qtcreator | grep qt
qtcreator
Depends: libqt5sql5-sqlite
Depends: qml-module-qtqml-models2
Depends: qml-module-qtquick-controls
Depends: qml-module-qtquick2
Depends: qtchooser
qtchooser:i386
Depends: qtcreator-data
Depends: libqbsqtprofilesetup1.10
Depends: libqt5concurrent5
Depends: libqt5core5a
Depends: libqt5designer5
Depends: libqt5designercomponents5
Depends: libqt5gui5
Depends: libqt5help5
Depends: libqt5network5
Depends: libqt5printsupport5
Depends: libqt5qml5
Depends: libqt5quick5
Depends: libqt5quickwidgets5
Depends: libqt5sql5
Depends: libqt5widgets5
Depends: libqt5xml5
Depends: <qtdeclarative-abi-5-9-5>
libqt5qml5
Recommends: qt5-doc
Recommends: qt5-qmltooling-plugins
Recommends: qtbase5-dev-tools
qtbase5-dev-tools:i386
Recommends: qtcreator-doc
Recommends: qtdeclarative5-dev-tools
qtdeclarative5-dev-tools:i386
Recommends: qttools5-dev-tools
qttools5-dev-tools:i386
Recommends: qttranslations5-l10n
Recommends: qtxmlpatterns5-dev-tools
qtxmlpatterns5-dev-tools:i386
qterminal
(Click image to enlarge)
edited Jun 10 at 20:15
answered Jun 10 at 19:51
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
karel
49.4k11105126
49.4k11105126
add a comment |Â
add a comment |Â
Did you check package of QT-Designer ?! There is QT 5 in the meantime. Here is a link: wiki.qt.io/Install_Qt_5_on_Ubuntu
â dschinn1001
Jun 10 at 19:09