Qt_19 - 8BitsCoding/RobotMentor GitHub Wiki
boost๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ค์ด๋ก๋ ํํ์ด์ง
์์ถ์ด ํ๋ฆฌ๋ ๊ฒฝ๋ก๋
C:\boost_##_##\๋ด๋ถ์ ํ๋๋ก ํ์
ํด๋๋ด์ bootstrap.bat์ cmd์์ ์คํํ๋ค.

cmd์์
b2 address-model=64 link=static๋ฅผ ์คํํ์ฌ ๋น๋ํ๋ค.ํน์ ๋น๋ ์ค ์๋ฌ๊ฐ ๋ฐ์ํ๋ค๋ฉด ๋น๋์ต์ ์ ๋ฃ์ ์ ์๋๋ฐ ํํ์ด์ง๋ ๊ฒ์์ ํตํด ๊ฒ์ํด๋ณด๊ณ ๋น๋ ์ต์ ์ ๋ฃ๊ณ ์ฌ ๋น๋ํด์ผํ๋ค.
๋น๋์ต์ ์ ๋ค์๊ณผ ๊ฐ๋ค.
$ b2 --toolset=<IDE๋ฒ์ > variant=<debug,release> address-model=<32, 64> threading=<single,multi> runtime-link=<static,shared> # --toolset : VS2008=vc9.0, VS2010=vc10.0, ... VS2017=vc14.1 # variant : debug, release # address-model : 64bit or 32bit # threading : single, multi # runtime-link : static, shared

๋น๋ ์๊ฐ์ด ์๋นํ ๊ธธ๋ค... ์ฃผ์ํ ๊ฒ
์ฐธ๊ณ ๋ก ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋งํฌ ๊ฒฝ๋ก๋
C:\boost_#_##\stage\lib์ด๋ค.
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
DEFINES += QT_DEPRECATED_WARNINGS
win32: {
# for win boost lib link
INCLUDEPATH += C:\boost_1_71_0\boost
LIBS += -LC:\boost_1_71_0\stage\lib -lboost_thread-vc141-mt-x64-1_71 -lboost_system-vc141-mt-x64-1_71
}
macx: {
# for mac lib link
}
SOURCES += \
main.cpp \
mainwindow.cpp
HEADERS += \
mainwindow.h
FORMS += \
mainwindow.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target์ถ๊ฐ ์ธํด๋ฃจ๋ = C:\boost_1_71_0\boost ์ถ๊ฐ์ข ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ = -LC:\boost_1_71_0\stage\lib