///
/// The QPA platform plugins are located in `qtbase\src\plugins\platforms` .
/// At the time of writing, the following platform plugin names are supported:
///
/// * `android`
/// * `cocoa` is a platform plugin for MacOS .
/// * `directfb`
/// * `eglfs` is a platform plugin for running Qt5 applications on top of EGL and OpenGL ES 2.0 without an actual windowing system (like X11 or Wayland). For more information, see [EGLFS](EGLFS)
///
/// * `ios` (also used for tvOS)
/// * `kms` is an experimental platform plugin using kernel modesetting and [DRM](http://dri.freedesktop.org/wiki/DRM)
/// (Direct Rendering Manager).
/// * `linuxfb` writes directly to the framebuffer. For more information, see [LinuxFB](LinuxFB)
///
/// * `minimal` is provided as an examples for developers who want to write their own platform plugins. However, you can use the plugin to run GUI applications in environments without a GUI, such as servers.
/// * `minimalegl` is an example plugin.
/// * `offscreen`
/// * `openwfd`
/// * `qnx`
/// * `windows`
/// * `wayland` is a platform plugin for modern Linux desktops and some embedded systems.
/// * `xcb` is the X11 plugin used on regular desktop Linux platforms.
///
/// For more information about the platform plugins for embedded Linux devices,
/// see [Qt for Embedded Linux](Qt%20for%20Embedded%20Linux)
///
The QPA platform plugins are located in `qtbase\src\plugins\platforms` .
At the time of writing, the following platform plugin names are supported.

`android`
`cocoa` is a platform plugin for MacOS .
`directfb`
`eglfs` is a platform plugin for running Qt5 applications on top of EGL and OpenGL ES 2.0 without an actual windowing system (like X11 or Wayland). For more information, see [EGLFS]

`ios` (also used for tvOS)
`kms` is an experimental platform plugin using kernel modesetting and [DRM]
(Direct Rendering Manager).
`linuxfb` writes directly to the framebuffer.

`minimal` is provided as an examples for developers who want to write their own platform plugins. However, you can use the plugin to run GUI applications in environments without a GUI, such as servers.
`minimalegl` is an example plugin.

For more information about the platform plugins for embedded Linux devices,
see [Qt for Embedded Linux](Qt%20for%20Embedded%20Linux)
The QPA platform plugins are located in ` qtbase \ src \ plugins \ platforms ` . At the time of writing the following platform plugin names are supported . ` android ` ` cocoa ` is a platform plugin for MacOS . ` directfb ` ` eglfs ` is a platform plugin for running Qt5 applications on top of EGL and OpenGL ES 2 . 0 without an actual windowing system ( like X11 or Wayland ) . For more information see [ EGLFS ] ` ios ` ( also used for tvOS ) ` kms ` is an experimental platform plugin using kernel modesetting and [ DRM ] ( Direct Rendering Manager ) . ` linuxfb ` writes directly to the framebuffer . ` minimal ` is provided as an examples for developers who want to write their own platform plugins . However you can use the plugin to run GUI applications in environments without a GUI such as servers . ` minimalegl ` is an example plugin . For more information about the platform plugins for embedded Linux devices see [ Qt for Embedded Linux ] ( Qt%20for%20Embedded%20Linux )
pub fn platform_name() -> String {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_gui_application)(::std::ptr::null()).all_funcs)
                    .gui_application_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).platform_name)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
pub fn platform_name ( ) -> String { let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_gui_application ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . gui_application_funcs , ) } ; unsafe { let ret_val = ( ( * funcs ) . platform_name ) ( obj_data ) ; let ret_val = CStr :: from_ptr ( ret_val ) . to_string_lossy ( ) . into_owned ( ) ; ret_val } }
The QPA platform plugins are located in `qtbase\src\plugins\platforms` .
The QPA platform plugins are located in ` qtbase \ src \ plugins \ platforms ` .