Qt-透明窗体之异型窗体

 相关资料:

https://download.csdn.net/download/zhujianqiangqq/13713144    代码包下载

 

.pro

 1 QT       += core gui
 2 
 3 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
 4 
 5 CONFIG += c++11
 6 
 7 # The following define makes your compiler emit warnings if you use
 8 # any Qt feature that has been marked deprecated (the exact warnings
 9 # depend on your compiler). Please consult the documentation of the
10 # deprecated API in order to know how to port your code away from it.
11 DEFINES += QT_DEPRECATED_WARNINGS
12 
13 # You can also make your code fail to compile if it uses deprecated APIs.
14 # In order to do so, uncomment the following line.
15 # You can also select to disable deprecated APIs only up to a certain version of Qt.
16 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
17 
18 SOURCES += \
19     main.cpp \
20     windowDesktop.cpp
21 
22 HEADERS += \
23     windowDesktop.h
24 
25 FORMS += \
26     mainwindow.ui
27 
28 LIBS += -lUser32
29 
30 # Default rules for deployment.
31 qnx: target.path = /tmp/$${TARGET}/bin
32 else: unix:!android: target.path = /opt/$${TARGET}/bin
33 !isEmpty(target.path): INSTALLS += target
34 
35 RESOURCES += \
36     resource.qrc
View Code

相关文章:

  • 2022-02-25
  • 2022-12-23
  • 2022-12-23
  • 2018-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-27
猜你喜欢
  • 2021-10-18
  • 2022-12-23
  • 2021-11-06
  • 2021-10-18
  • 2022-12-23
  • 2021-12-17
  • 2021-11-06
相关资源
相似解决方案