Shows how to create a custom widget line with QFrame.
To build these projects, open Line.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 ./Line.sln
mkdir build
cd build
cmake .. -G "Xcode"
open ./Line.xcodeproj
mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./Line.cbp > /dev/null 2>&1
mkdir build
cd build
cmake ..
cmake --build . --config Debug
./Line