forked from qt/qtbase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doc: Make widgets snippets a subdirs/lib project
Task-number: QTBUG-86497 Pick-to: 5.15 Change-Id: Ia43f9eb3bf8a3d2f6e76a1932179aaa94266540b Reviewed-by: Joerg Bornemann <[email protected]>
- Loading branch information
1 parent
270c3dc
commit f4ee893
Showing
10 changed files
with
62 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/widgets/doc/snippets/customviewstyle/customviewstyle.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
TEMPLATE = lib | ||
TARGET = widgets_customviewstyle_snippets | ||
QT = core widgets | ||
|
||
HEADERS = \ | ||
../customstyle/customstyle.h | ||
|
||
SOURCES = \ | ||
customviewstyle.cpp | ||
../customstyle/customstyle.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
TEMPLATE = lib | ||
TARGET = widgets_filedialogurls_snippets | ||
QT = core widgets | ||
|
||
SOURCES = \ | ||
filedialogurls.cpp |
6 changes: 6 additions & 0 deletions
6
src/widgets/doc/snippets/graphicssceneadditem/graphicssceneadditem.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
TEMPLATE = lib | ||
TARGET = widgets_graphicssceneadditem_snippets | ||
QT = core widgets | ||
|
||
SOURCES = \ | ||
graphicssceneadditemsnippet.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
TEMPLATE = lib | ||
TARGET = widgets_graphicsview_snippets | ||
QT = core widgets printsupport openglwidgets | ||
|
||
SOURCES = \ | ||
graphicsview.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
TEMPLATE = lib | ||
TARGET = mdiarea_snippets | ||
QT += printsupport opengl openglwidgets | ||
|
||
SOURCES = \ | ||
mdiareasnippets.cpp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
TEMPLATE = lib | ||
TARGET = myscrollarea_snippets | ||
QT += widgets | ||
|
||
SOURCES = \ | ||
myscrollarea.cpp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
TEMPLATE = lib | ||
|
||
TEMPLATE = subdirs | ||
TARGET = widgets_snippets | ||
SUBDIRS = | ||
|
||
#! [qmake_use] | ||
QT += widgets | ||
#! [qmake_use] | ||
|
||
QT += printsupport opengl openglwidgets | ||
|
||
SOURCES += customviewstyle/customviewstyle.cpp \ | ||
filedialogurls/filedialogurls.cpp \ | ||
graphicssceneadditem/graphicssceneadditemsnippet.cpp \ | ||
graphicsview/graphicsview.cpp \ | ||
mdiarea/mdiareasnippets.cpp \ | ||
myscrollarea/myscrollarea.cpp | ||
contains(QT_BUILD_PARTS, tests) { | ||
SUBDIRS += \ | ||
customviewstyle \ | ||
filedialogurls \ | ||
graphicssceneadditem \ | ||
graphicsview \ | ||
mdiarea \ | ||
myscrollarea | ||
} | ||
|
||
load(qt_common) |