Skip to content

qomp/qomp

Repository files navigation

Quick(Qt) Online Music Player

Dependences:
	Qt 5.x.x, taglib, libcue
	gstreamer (Linux OS)
	gstreamer-soup-plugin (Linux OS, part of GStreamer good plugins pack)
	gstreamer-libav (Linux OS)


Get sources:
	git clone https://github.com/qomp/qomp.git
	cd qomp
	git submodule init
	git submodule update

Update qomp surces:
	cd qomp
	git pull
	git submodule update


Build:
  linux:
	qmake && make && sudo make install
	
  linux and windows using cmake utility:
	mkdir build && cd build
	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
	make && make install (sudo if needed)
	or
	cmake --build . --target all &&	cmake --build . --target install (sudo if needed)
  
  windows using cmake utility:
	mkdir build && cd build
	cmake -DCMAKE_INSTALL_PREFIX=./release ..
	mingw32-make && mingw32-make install
	or
	cmake --build . --target all &&	cmake --build . --target install (sudo if needed)
	
  windows:
	qmake
	mingw32-make

Usefull cmake flags:
**build and install only needed plugins:
   -DBUILD_PLUGINS=${plugins}
   possible values for plugins:
     filesystemplugin urlplugin prostopleerplugin
     myzukaruplugin yandexmusicplugin lastfmplugin
     tunetofileplugin mprisplugin
   example:
     cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_PLUGINS="filesystemplugin;urlplugin"..
   default value is ALL
**set build type:
   -DCMAKE_BUILD_TYPE=Release
   or
   -DCMAKE_BUILD_TYPE=Debug
   default value is Release
**set development mode:
   -DDEV_MODE=ON
   set this flag to ON to enable development mode
   usefull with QtCreator
   default value is OFF
**set path to taglib library:
   -DTAGLIB_ROOT=%YOUR_PATH%
   usefull to build qomp in windows,
   default value is c:\build\taglib
**set path to libcue library:
   -DLIBCUE_ROOT=%YOUR_PATH%
   usefull to build qomp in windows,
   default value is c:\build\libcue
**set build qomp themes:
   -DBUILD_THEMES=ON
   set this flag to compile qomp themes
   default value is ON
**use cpack to build qomp packages
   -DUSE_CPACK=ON
   for now only *.rpm and *.deb packages supported
   after cmake command you can use: make package
   command to create qomp package
**use qtchooser tool to determine default qt environment
  -DUSE_QTCHOOSER=ON