其他分享
首页 > 其他分享> > qt-编码问题解答

qt-编码问题解答

作者:互联网

1.qt中子类继承父类重写父类函数的时候可以不用写override关键字

2.想要setGeometry有效,控件就不能在布局里。 如果使用了布局,控件大小有布局自动控制。

3.qwidgets开发下的.ui文件不能手动更改只能在设计器里更改。

3..pro中增加库引用写法实例

win32
{
INCLUDEPATH += 'C:/Program Files (x86)/IVI Foundation/VISA/WinNT/Include'
LIBS+='C:/Program Files (x86)/IVI Foundation/VISA/WinNT/lib/msc/visa32.lib'
}

/**********

#INCLUDEPATH += E:\whh\softTool\Qt\files\OpenCV-MinGW-Build-OpenCV-4.1.1-x64\include
#INCLUDEPATH += E:\whh\softTool\Qt\files\OpenCV-MinGW-Build-OpenCV-4.1.1-x64\include\opencv2

#LIBS += E:\whh\softTool\Qt\files\OpenCV-MinGW-Build-OpenCV-4.1.1-x64\x64\mingw\bin\libopencv_*.dll
INCLUDEPATH +=.\OpenCV-MinGW-Build-OpenCV-4.1.1-x64\include
INCLUDEPATH += .\OpenCV-MinGW-Build-OpenCV-4.1.1-x64\include\opencv2

LIBS += .\OpenCV-MinGW-Build-OpenCV-4.1.1-x64\x64\mingw\bin\libopencv_*.dll

标签:编码,4.1,qt,x64,问题解答,OpenCV,MinGW,Build,INCLUDEPATH
来源: https://blog.csdn.net/u011555996/article/details/122153074