Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.02 KB

File metadata and controls

64 lines (43 loc) · 1.02 KB

InputDialogMultiline

Show how to use multiline input dialog with QInputDialog.

Sources

src/InputDialogMultiline.h

src/InputDialogMultiline.cpp

CMakeLists.txt

Output

Screenshot

Generate and build

Qt Creator

To build these projects, open InputDialogMultiline.pro file with Qt Creator.

CMake

To build this project, open "Terminal" and type following lines:

Set CMAKE_PREFIX_PATH with Qt6 install path.

Windows :

mkdir build
cd build
cmake ..
start ./InputDialogMultiline.sln

macOS :

mkdir build
cd build
cmake .. -G "Xcode"
open ./InputDialogMultiline.xcodeproj

Linux with Code::Blocks :

mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./InputDialogMultiline.cbp > /dev/null 2>&1

Linux :

mkdir build
cd build
cmake .. 
cmake --build . --config Debug
./InputDialogMultiline