QT -= gui TEMPLATE = lib TARGET = MediaPlayerManager CONFIG += c++17 console CONFIG -=…
- User
QT -= gui
TEMPLATE = lib TARGET = MediaPlayerManager
CONFIG += c++17 console CONFIG -= app_bundle
DESTDIR=lib OBJECTS_DIR=obj MOC_DIR=moc
You can make your code fail to compile if it uses deprecated APIs.
In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
include($$PWD/../ART.pri)
INCLUDEPATH +=
inc/
inc/platformHEADERS +=
inc/ArtMediaPlayerTypes.h
inc/PlaylistParser.hpp
inc/platform/MediaPlayerControl.hpp
inc/platform/PlatformMediaIntegration.hpp
inc/ArtMediaPlayer.h
inc/ArtMediaPlayer_p.h
inc/ArtMediaQueue.h
inc/ArtMediaQueue_p.h
inc/ArtMediaPlaylistFileParser.h
inc/M3UPlaylistParser.h
inc/M3U8PlaylistParser.h
inc/PLSPlaylistParser.hSOURCES +=
src/ArtMediaPlayer.cpp
src/ArtMediaQueue.cpp
src/ArtMediaPlaylistFileParser.cpp
src/M3UPlaylistParser.cpp
src/PLSPlaylistParser.cppPLATFORM_BACKEND=GStreamer
isEmpty(PLATFORM_BACKEND) { error("Platform backend not set") } else:contains(PLATFORM_BACKEND, GStreamer) { message("Backend is Gstreamer")
DEFINES += GST_BACKEND INCLUDEPATH += \ inc/platform/gstreamer HEADERS += \ inc/platform/gstreamer/gstbushelper.h \ inc/platform/gstreamer/gstmessage.h \ inc/platform/gstreamer/gstplaybin.h \ inc/platform/gstreamer/GstLogging.hpp SOURCES += \ src/platform/gstreamer/gstbushelper.cpp \ src/platform/gstreamer/gstmessage.cpp \ src/platform/gstreamer/gstplaybin.cpp unix { CONFIG += link_pkgconfig PKGCONFIG += gstreamer-1.0 }}
INSTALL
contains(BUILD_ENV, art-cross) { PUBLIC_HEADERS =
inc/ArtMediaPlayer.h
inc/ArtMediaQueue.h
inc/ArtMediaPlayerTypes.hheaders_install.files = $$PUBLIC_HEADERS headers_install.path = $$TARGET_BASE/usr/include/$$TARGET INSTALLS += headers_install}
target.path = $$TARGET_BASE/usr/lib/
INSTALLS += target
explain whats happening
- Assistant
- User
why do we need to write a .pro file?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.