diff --git a/qt/cflags_linux.go b/qt/cflags_linux.go new file mode 100644 index 00000000..7fd2cbdd --- /dev/null +++ b/qt/cflags_linux.go @@ -0,0 +1,7 @@ +package qt + +/* +#cgo CFLAGS: -fPIC +#cgo pkg-config: Qt5Widgets +*/ +import "C" diff --git a/qt/cflags_windows.go b/qt/cflags_windows.go new file mode 100644 index 00000000..9be4537d --- /dev/null +++ b/qt/cflags_windows.go @@ -0,0 +1,7 @@ +package qt + +/* +#cgo CXXFLAGS: -std=c++11 +#cgo pkg-config: Qt5Widgets +*/ +import "C"