Setup of Minigui debugging environment on Ubuntu

Source: Internet
Author: User

There are two versions of Minigui: Commercial edition (2.0.4) and the GPL version (1.6.Ten), asked about the fly-diffuse software, the use of commercial version of the upfront cost is 90,000, there is technical support, including 5,000 licenses cost, the amount of later 10K, each licenses to 6, 50K words, is 4 pieces, if the GPL version, there is no upfront costs,     Only the cost of licenses, the boss thought about it, we still use open source version, in fact, if I am the boss, I will use the commercial version, the product fast ah .... Setting up the Minigui environment under Ubuntu: Minigui requires a QVFB support: sudo apt-GetInstall qt3-dev-tools-embeddedprovided By:qt3-dev-tools-embedded_3.3.8-b-0ubuntu3_i386 NAME Qvfb-Virtual Framebuffer forQt DESCRIPTION theVirtualFramebuffer allows qt/Embedded programs to is developed on your desktop machine, without switching between consoles and X11. Start a Qt/Embedded Master application (i.e., construct qapplication with Qapplication::guiserver flag or use the -qws command line parame‐ter). you'll need to specify to the server so you wishVirtualframebuffer driver, e.g.: Widgets-qws-display QVFB:0prefer toSetThe qws_display environment variable to be QVFB:0. QVFB supports the following command line options:-width width:the width of theVirtualFramebuffer (default: -). -height height:the height of theVirtualFramebuffer (default: the). -depth depth:the Depth of theVirtualFramebuffer (1,8or +;default:8). -nocursor: DoNot display the X11 cursorinchThe framebuffer window. -qwsdisplay:id the qt/Embedded Display ID to provide (default:0). Virtual Framebuffer Design theVirtualFramebuffer emulates a framebufferusinga shared memory region ( theVirtualframe buffer) and a utility to display the Frame‐bufferincha window (QVFB).        The regions of the display that has changed is updated periodically, so you'll see discrete snapshots of The framebuffer rather than each individual drawing operation. for Thisreason drawing problems such asflickering May is apparent until the program isRunusinga real framebuffer. The target refresh rate canSetVia the"view| Refresh Rate"menu item. This would cause QVFB to check forupdated regions more quickly. the rate isA target only. If Little Drawing isbeing done, the frame‐buffer won't show any updates between drawing events. If an applica‐tion isdisplaying an animation the updates would be frequent, and the application and QVFB would compete forprocessor Time. Mouse and keyboard events is passed to the Qt/Embedded master process via Named pipes. theVirtualFramebuffer isa development tool only. No security issues has been consideredinchTheVirtualframebuffer Design. It should be avoidedincha production environment; QT_NO_QWS_VFB should always be definedinchProduction Libraries.libminigui-1.6.TenMinigui-res-1.6.Tenmg-samples-1.6.TenFirst compile Libminigui-1.6.Ten, the compilation method, please refer to Minigui's instructions, it is best not to change the prefix parameters, but also pay attention to your ld_library_path definition, otherwise you compile Minigui example, will report the system can not find the library file and header file problems, The header file is installed by default in the/usr/local/INCLUDE directory, but if you do not specify C_include_dir, the same will be reported to find the problem of the head file, it is best to copy the head file over the line, after Libminigui installed, install Minigui res, this is very simple, After this execution, you can compile the example, compile the example program run, the following error will appear: [email protected]:~/km118-display/mg-samples-1.6.Ten/src$./Simplekey newgal:does not find matched engine:qvfb. Initgui:can notGetGraphics Engine information!The problem is not installing QVFB, you go to check your/usr/local/etc/minigui.cfg file, the specified monitor gal is Qvfb,ubuntu users do not have to download QVFB code to install, and their own installation will also say no qt3 found, and actually QT3 has been installed, only need to use the command I use the most previous installation can be. Then run again, or the same error will be reported, here you need to run Qvfb[email protected]:~/km118-display/mg-samples-1.6.Ten/src$ Qvfb &[1]16533an interface will pop up, file-Configure to configure the screen size. Then run the example you compiled [email protected]:~/km118-display/mg-samples-1.6.Ten/src$./Simplekey Displays the controls you run in the popup screen, the example runs successfully! 

Setup of Minigui debugging environment on Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.