Difference between revisions of "Qt development with linuxmce"
From LinuxMCE
(→Working on your core) |
|||
Line 22: | Line 22: | ||
== Working on your core == | == Working on your core == | ||
+ | Working on the core can be beneficial from the standpoint of | ||
+ | *no need to move file(s) across network | ||
+ | *compile in native environment | ||
+ | |||
+ | Both of these are useful, but debugging and gui functionality will be limited. | ||
== QOrbiter Specifics == | == QOrbiter Specifics == |
Revision as of 00:20, 1 April 2016
This article will explain how to utilize the Qt development framework with linuxmce. Currently, there are a few different types of devices that utilize the Qt framework within linuxmce
- Hue Controller - For controlling Phillips Hue color changing LED lights using QtNetwork to interface with the JSON api of the device.
- linuxmceTag - A simple command line media scanner which scans video files, and then does its best to lookup information via online api's to fill in metadata
- QOrbiter - Graphical user interface for linuxmce, allowing one to have classic orbiter functionality.
Contents
General Requirements
These are the general requirements for working with Qt and linuxmce to develop devices
- Qt Development SDK - http://www.qt.io/download/
- Choose the open source version. This will allow you to download the source as needed, libraries, and the IDE, Qt Creator.
- If you are targeting Qt4, you would best apt-get install qt4-dev-tools. This will pull in Qt4 libraries and the Qt Creator for qt4. Please note if creating a new project, you will be politely asked to use Qt5. Qt4 based projects are scheduled to be moved to Qt5.
- A functioning linuxmce installation, VM or otherwise.
- You will also need the source code, which you can check out at http://git.linuxmce.org.
- Follow this existing article: http://wiki.linuxmce.org/index.php/Developing_a_DCE_Device
Once you have setup your linuxmce box according to the article above,you will be ready to start development
Working from your own linux machine
Working on your core
Working on the core can be beneficial from the standpoint of
- no need to move file(s) across network
- compile in native environment
Both of these are useful, but debugging and gui functionality will be limited.