GO + therecipe/qt 编写的开源串口调试工具,欢迎大家拍砖和提出意见

yizheneng · 2017-07-31 01:16:10 · 5326 次点击

解决 非常有价值的 项目 /*

#cgo CFLAGS: -pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra -DUNICODE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN

#cgo CXXFLAGS: -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN

#cgo CXXFLAGS: -I../../qt -I. -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtSvg -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtGui -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtCore -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/Qt3DRender -Irelease -IC:/Qt/Qt5.8.0/5.8/mingw53_32/mkspecs/win32-g++

#cgo CXXFLAGS: -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtDBus -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtDesigner -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtQuick

#cgo CXXFLAGS: -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtTest -IC:/Qt/Qt5.8.0/5.8/mingw53_32/include/QtSerialPort

#cgo LDFLAGS: -Wl,-s -Wl,-subsystem,windows -mthreads

#cgo LDFLAGS: -lmingw32 -LC:/Qt/Qt5.8.0/5.8/mingw53_32/lib -lqtmain -LC:/utils/my_sql/my_sql/lib -LC:/utils/postgresql/pgsql/lib -lshell32 -lQt5Core -lQt5Svg -lQt5Widgets -lQt5Gui -lQt5Core

#cgo LDFLAGS: -Wl,--allow-multiple-definition */

#14
更多评论

楼上是界面的截图,不晓得为什么没有显示出来o(╯□╰)o

#2