Setting QT Env on mac ( Opensource .ver) with go

2020. 1. 2. 15:21Etc/경험담

https://github.com/therecipe/qt/wiki/Installation

1. Download Online QT

2. Install QT by online qt installer

3. Install Go Lang with go binding

 

therecipe/qt

Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly - therecipe/qt

github.com

4. Install Visual Studio Code

5. Install Go Extension in VS.

6. Install QML Extension in VS.

 

7. Set path variables

Variable Default Type Note
QT_DIR $HOME/Qt String should point to the root dir of your Qt installation; can also be temporary set by using the -qt_dir flag
QT_VERSION 5.13.0 String can be used to link against a specific Qt version; can also be temporary set by using the -qt_version flag
QT_API 5.13.0 String can be used to generate code for a specific Qt version; can also be temporary set by using the -qt_api flag

 

8. Execute Command `qtsetup`

USER:~ user$ qtsetup

 

반응형