No edit summary |
(usb redirection) |
||
Line 13: | Line 13: | ||
* [https://doc.qt.io/qt-5/qmlapplications.html QML applications] | * [https://doc.qt.io/qt-5/qmlapplications.html QML applications] | ||
=== Can real targets | === Can real targets be connected via USB-cable and application be launched from Fedora Linux? === | ||
'''Locally'''? No idea. | |||
'''Remotely to Windows or Mac OSX''': In theory yes. Fedora's RDP client [http://www.freerdp.com/ FreeRDP] supports [https://github.com/FreeRDP/FreeRDP/wiki/USB-Redirection USB-port redirection over IP] and some devices like USB-cameras and smartcard readers are reported to work (2019 beginning). However, the forwarding appers to be device specific and '''Android- and iOS-phones are not supported'''. | |||
Few notes: | |||
* Fedora's freerdp package needs to be recompiled with -DCHANNEL_URBDRC_CLIENT=ON setting (that is off by default in spec) and reinstalled | |||
* In order to work on Windows host, [https://techcommunity.microsoft.com/t5/Enterprise-Mobility-Security/Introducing-Microsoft-RemoteFX-USB-Redirection-Part-1/ba-p/247035 RemoteFX USB Redirection] must be enabled | |||
** run '''gpedit.msc''' as an Administrator | |||
** Group Policy '''Computer Configuration''', '''Administrative Templates''', '''Windows Components''', '''Remote Desktop Services''', '''Remote Desktop Connection Client''', '''RemoteFX USB Device Redirection''': Allow Admnistrator and users | |||
** run '''cmd''', '''gpupdate /force''' as an Administrator | |||
** reboot | |||
Examples at Linux side: | |||
/usr/bin/xfreerdp /u:John\ Doe /v:server.example.com /usb:auto | |||
redirect all devices that are connected after session connection. | |||
/usr/bin/xfreerdp /u:John\ Doe /v:server.example.com /usb:id,dev:05ac:12a8 | |||
usb redirection and redirect device 05ac:12a8 (id is second vendor:device is in lsusb listing). | |||
/usr/bin/xfreerdp /u:John\ Doe /v:server.example.com /usb:dbg,id,dev:05ac:12a8 | |||
same as before with debugging. | |||
Messages like: | |||
[WARN][com.freerdp.channels.urbdrc.client] - bus:0 dev:0 not exist in udevman | |||
should be harmless. | |||
Currently this apparently does not work from Fedora desktop to Windows. | |||
== Google Android toolchain: == | == Google Android toolchain: == |
Revision as of 13:34, 20 April 2019
Qt development on Fedora Linux raises questions, what can be done on Fedora Linux and what else is needed and how it can be used when using Linux desktop?
<html> <iframe width="560" height="315" src="https://www.youtube.com/embed/WFGRr0DV3oM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </html>
Development mode: C++ (Widget) vs QML (XML)
Both are supported, with some limitations.
What are the differences
Can real targets be connected via USB-cable and application be launched from Fedora Linux?
Locally? No idea.
Remotely to Windows or Mac OSX: In theory yes. Fedora's RDP client FreeRDP supports USB-port redirection over IP and some devices like USB-cameras and smartcard readers are reported to work (2019 beginning). However, the forwarding appers to be device specific and Android- and iOS-phones are not supported.
Few notes:
- Fedora's freerdp package needs to be recompiled with -DCHANNEL_URBDRC_CLIENT=ON setting (that is off by default in spec) and reinstalled
- In order to work on Windows host, RemoteFX USB Redirection must be enabled
- run gpedit.msc as an Administrator
- Group Policy Computer Configuration, Administrative Templates, Windows Components, Remote Desktop Services, Remote Desktop Connection Client, RemoteFX USB Device Redirection: Allow Admnistrator and users
- run cmd, gpupdate /force as an Administrator
- reboot
Examples at Linux side:
/usr/bin/xfreerdp /u:John\ Doe /v:server.example.com /usb:auto
redirect all devices that are connected after session connection.
/usr/bin/xfreerdp /u:John\ Doe /v:server.example.com /usb:id,dev:05ac:12a8
usb redirection and redirect device 05ac:12a8 (id is second vendor:device is in lsusb listing).
/usr/bin/xfreerdp /u:John\ Doe /v:server.example.com /usb:dbg,id,dev:05ac:12a8
same as before with debugging.
Messages like:
[WARN][com.freerdp.channels.urbdrc.client] - bus:0 dev:0 not exist in udevman
should be harmless.
Currently this apparently does not work from Fedora desktop to Windows.
Google Android toolchain:
Android SDK, NDK (native development kit, C/C++), Java (Linux OpenJDK can be used).
Where it can be downloaded
Apple iOS toolchain: XCode
To develop for iOS devices, you must install Xcode and use it to configure a device. For this, you need an Apple developer account and iOS Developer Program certificate that you receive from Apple.
Where it can be downloaded
- developer.apple.com - Programs overview
- developer.apple.com - enroll actual steps to get started.
Licensing
Can Xcode be run on Fedora Linux?
See also