This folder contains others examples.
- ButtonWithStyleSheet shows how to use stylesheet with QPushButton.
- InputDialogMultiline shows how to use multiline input dialog with QInputDialog.
- InputDialogPassword shows how to use password input dialog with QInputDialog.
- LCDNumber2 shows how to create a LCD number with QLCDNumber.
- Wiggly shows how to animate a user control using QBasicTimer and timerEvent(). In addition, the example demonstrates how to use QFontMetrics to determine the size of text on screen.
- WindowShowHide demonstrates the use of QMainWindow show, hide and close methods.
To build these projects, open Others.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 ./Others.sln
mkdir build
cd build
cmake .. -G "Xcode"
open ./Others.xcodeproj
mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./Others.cbp > /dev/null 2>&1
mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject