The logic is similar the fbs API already has a QApplication created so you must create it, in this case you just have to make the following modification to the example provided by fbs: from fbs_runtime.application_context.PyQt5 import ApplicationContextįrom PyQt5. It does work with the default code which leads me to believe that changing it from QMainWindow to QWidget is causing it to not work I am able to run my program fine with "FBS run" however, when actually packing the application with "FBS freeze/ FBS installer", it doesn't open properly. Here is a sample of my code: class Interface: System image file is 'bootflash:asr1001x-universalk9.03.17.01.S.' Last reload reason: critical process fault, fmanfpimage, fp00, rc134 The router has a redundant layer 2 connection to two Juniper Routers on the interfaces Gi0/0/0 and Gi0/0/1 and a common layer 3 interface on BDI302. Unlike other solutions, fbs makes packaging easy: Create an installer for your app in seconds and start distributing it to your users. Based on Qt and Python, it is a lightweight alternative to Electron. I believe this may be why the program can't be opened when packaged. What is fman build system A framework for creating desktop apps for Windows, Mac and Linux. arm64: dts: add LS1043A DPAA FMan support > Hi Madalin, > auto build test ERROR on robh/for-next > also build test ERROR on v4.12-rc1 next-20170517 > if your patch is applied to the wrong git tree, please drop us a note to > help improve the system > url. However, my application works a lot with layouts and so I use a QWidget as my window instead of a QMainWindow. Add the DPAA 1.x FMan device tree nodes for LS1043A boards. Here is the default code: from fbs_runtime.application_context.PyQt5 import ApplicationContextĪnd this works. It gives you a simple drag-and-drop interface for laying out components such as buttons, text fields, combo boxes and more.
I am able to create and open the basic plain application however, when I try to integrate my own code into the default code, once I try to run the app it closes instantly without running. Qt Designer Download for Windows and Mac - fman Qt Designer is a tool for quickly building graphical user interfaces with widgets from the Qt GUI framework.
I am trying to package my GUI application into an application using FMan FBS.