docs: Remove Boost from Qt example (#387)

This commit is contained in:
Joan Marcè i Igual 2023-02-13 17:38:21 +01:00 committed by GitHub
parent 3e01111ddf
commit b10474e3ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,23 +65,6 @@ CONFIG+=c++11
`no_keywords` is for preventing qmake treat some function's name `emit` as the keyword of signal-slot mechanism.
`c++11` ask for C++11 support.
##Import boost
Suppose we now have our boost `headers` and a fat boost `static lib` named `libboost.a`(non-win32) or `boost.lib`(win32) ready.
To import them we need to edit `SioChatDemo.pro` again,add header include:
```bash
INCLUDEPATH += `our boost headers folder`
```
also linker options:
```bash
win32:CONFIG(release, debug|release): LIBS += -L`our Win32 boost static lib folder` -lboost
else:win32:CONFIG(debug, debug|release): LIBS += -L`our Win32 boost static lib folder` -lboost
else:unix: LIBS += -L`our osx boost static lib folder` -lboost
```
### Make up mainwindow ui.
Make up a simple ui by drag and drop widget from `Widget box` in left side.