Giter Site home page Giter Site logo

fbs freeze failed about fbs-tutorial HOT 3 OPEN

mherrmann avatar mherrmann commented on May 23, 2024 1
fbs freeze failed

from fbs-tutorial.

Comments (3)

amarnathreddy0201 avatar amarnathreddy0201 commented on May 23, 2024

[3012] Failed to execute script

is this error ,so please help me too

from fbs-tutorial.

UmangRajpara13 avatar UmangRajpara13 commented on May 23, 2024

i dropped python for desktop application development.
i moved to javascript and use electron framework.

from fbs-tutorial.

Ing-Josef-Klotzner avatar Ing-Josef-Klotzner commented on May 23, 2024

try to add just this line in your python program:
from fbs_runtime.application_context.PyQt5 import ApplicationContext

do NOT use this:

    appctxt = ApplicationContext()
    ....
    exit_code = appctxt.app.exec_()
    sys.exit(exit_code)

leave your main like it was -- like this:

def main():
    app = QtWidgets.QApplication(argv)
    t = Tetris()
    t.show()
    exit(app.exec_())

from fbs-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.