个人技术分享

目录

qt designer 依赖库配置实例

单步调试快捷键 f10

QMessageBox 使用方法

背景图设置


qt designer 依赖库配置实例

linux配置 三部分: 头文件目录,头文件,so文件

QT       += core gui sql network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11
CONFIG += utf8
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
INCLUDEPATH +=/usr/local/include/
              /usr/local/include/opencv2

LIBS += -L/usr/local/lib -lopencv_world
LIBS += -L/home/lbg/qil