This folder contains menus and toolbars examples.
- MenuBar shows how to create a menu bar with QMenu and QAction.
- StatusBar shows how to create a status bar with QStatusBar.
- ToolBar shows how to create a toolbar bar with QToolsBar.
To build these projects, open MenusAndToolbars.pro file with Qt Creator.
To build this project, open "Terminal" and type following lines:
Set CMAKE_PREFIX_PATH with Qt6 install path.
mkdir build
cd build
cmake ..
start ./MenusAndToolbars.slnmkdir build
cd build
cmake .. -G "Xcode"
open ./MenusAndToolbars.xcodeprojmkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./MenusAndToolbars.cbp > /dev/null 2>&1mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject