Contains string examples.
- StringSplit shows how to use QString::split method.
- StringUnicode shows how to use QTextStream and QString with unicode.
- StringUnicode2 shows how to use QTextStream and QString with unicode.
To build these projects, open Strings.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 ./Strings.sln
mkdir build
cd build
cmake .. -G "Xcode"
open ./Strings.xcodeproj
mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./Strings.cbp > /dev/null 2>&1
mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject