mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
misc/qt6-examples: new port
A collection of code samples and tutorials are provided with Qt to help new users get started with Qt development. These documents cover a range of topics, from basic use of widgets to step-by-step tutorials that show how an application is put together. The update to 6.4.2 was provided by Florian Walpen <dev@submerge.ch>. PR: 269028
This commit is contained in:
parent
8447f6cc7b
commit
d5cd32cdc7
@ -130,13 +130,13 @@ _USES_POST+= qt
|
||||
_QT_MK_POST_INCLUDED= qt.mk
|
||||
|
||||
# The Qt components supported by qt.mk: list of shared, and version specific ones
|
||||
_USE_QT_COMMON= 3d charts datavis3d declarative doc imageformats multimedia \
|
||||
networkauth quick3d quicktimeline remoteobjects scxml \
|
||||
_USE_QT_COMMON= 3d charts datavis3d declarative doc examples imageformats \
|
||||
multimedia networkauth quick3d quicktimeline remoteobjects scxml \
|
||||
sensors serialbus serialport svg virtualkeyboard wayland \
|
||||
webchannel webengine websockets
|
||||
|
||||
_USE_QT5_ONLY= assistant buildtools concurrent connectivity core dbus \
|
||||
declarative-test designer diag examples gamepad \
|
||||
declarative-test designer diag gamepad \
|
||||
graphicaleffects gui help l10n linguist linguisttools location \
|
||||
network opengl paths phonon4 pixeltool plugininfo printsupport \
|
||||
qdbus qdbusviewer qdoc qdoc-data qev qmake quickcontrols \
|
||||
|
@ -476,6 +476,7 @@
|
||||
SUBDIR += qt5-l10n
|
||||
SUBDIR += qt5ct
|
||||
SUBDIR += qt6-doc
|
||||
SUBDIR += qt6-examples
|
||||
SUBDIR += quantum++
|
||||
SUBDIR += raspberrypi-gpioshutdown
|
||||
SUBDIR += raspberrypi-userland
|
||||
|
42
misc/qt6-examples/Makefile
Normal file
42
misc/qt6-examples/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
PORTNAME= examples
|
||||
PORTVERSION= ${QT6_VERSION}
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= QT/official_releases/qt/${QT6_VERSION:R}/${QT6_VERSION}/single
|
||||
PKGNAMEPREFIX= qt6-
|
||||
DISTNAME= qt-everywhere-src-${QT6_VERSION}
|
||||
#WRKSRC= ${WRKDIR}/qt-everywhere-src-${QT5_VERSION}
|
||||
DIST_SUBDIR= KDE/Qt/${QT6_VERSION}
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Qt 6 examples sourcecode
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
USES= qt:6 tar:xz
|
||||
USE_QT= #
|
||||
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/qt6
|
||||
# The destination location depends on the values given in
|
||||
# share/doc/qt5/<module>/examples-manifest.xml. The exception is
|
||||
# qtscript and qtserialbus where the examples are looked up in $EXAMPLESDIR/.
|
||||
# This way, the examples show up in qtcreator on the examples front page.
|
||||
|
||||
_QT_DISTS= 3d 5compat activeqt base charts coap connectivity datavis3d \
|
||||
declarative doc httpserver mqtt multimedia networkauth opcua \
|
||||
positioning quick3d quick3dphysics remoteobjects scxml \
|
||||
sensors serialbus serialport speech svg tools virtualkeyboard \
|
||||
wayland webchannel webengine websockets webview
|
||||
EXAMPLES= ${_QT_DISTS:C/^/qt/}
|
||||
|
||||
.for example in ${EXAMPLES}
|
||||
EXTRACT_AFTER_ARGS+= ${DISTNAME:S/-opensource//}/${example}/examples
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
.for example in ${EXAMPLES}
|
||||
cd ${WRKSRC}/${example}/examples && \
|
||||
${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
3
misc/qt6-examples/distinfo
Normal file
3
misc/qt6-examples/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1674061927
|
||||
SHA256 (KDE/Qt/6.4.2/qt-everywhere-src-6.4.2.tar.xz) = 689f53e6652da82fccf7c2ab58066787487339f28d1ec66a8765ad357f4976be
|
||||
SIZE (KDE/Qt/6.4.2/qt-everywhere-src-6.4.2.tar.xz) = 736802464
|
4
misc/qt6-examples/pkg-descr
Normal file
4
misc/qt6-examples/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
A collection of code samples and tutorials are provided with Qt to help new
|
||||
users get started with Qt development. These documents cover a range of topics,
|
||||
from basic use of widgets to step-by-step tutorials that show how an
|
||||
application is put together.
|
9200
misc/qt6-examples/pkg-plist
Normal file
9200
misc/qt6-examples/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user