Questions tagged [fbs]

fbs is a cross-platform PyQt5 packaging system which supports building desktop applications for Windows, Mac and Linux (Ubuntu, Fedora and Arch)

42 questions
0
votes
0 answers

how to install \lib\runpy.py

Maybe it is a beginner question, sorry ... On Windows 10 I tried to build an executable file using Qt5 and fbs (python 3.7, 64bit). I installed Qt5 and fbs using pip. fbs startproject - worked fbs run - worked fbs freeze - following…
am2
  • 380
  • 5
  • 21
0
votes
2 answers

Is it possible to make a PyQt5 app that calls a python script via a subprocess fully self-contained?

Apologies if I am missing something obvious here. I have a PyQt5 app that I've frozen using the awesome fbs package. Within the app, a Python script is called via a PyQt subprocess, i.e. like this: command = "python LaunchPPTKwin.py" …
Matt
  • 43
  • 6
0
votes
1 answer

PyQt5 fbs can't execute slack

There's definitely something wrong with slack in that after fbs freeze, I cannot run the standalone .exe file. This is so weird because all other imports have no issues. For example, this simple code won't even work with slack from…
bbusdriver
  • 1,577
  • 3
  • 26
  • 58
0
votes
0 answers

fbs project structure for PySide2 projects

Working with the excellent fbs tool (great stuff Michael!). The manual has this suggestion about project structure: As your application grows in complexity, you will likely want to split its source code across multiple files. In this case, it is…
DanielMcQ
  • 37
  • 1
  • 8
0
votes
1 answer

FBS packed app open command prompt then closes

So, when I run fbs run the app runs perfectly. However, once I run fbs freeze and open the created .exe file the windows command prompt opens, does some stuff then closes (I am not able to retrieve the log). This happens with the app installed…
TheBatz
  • 115
  • 2
  • 12
0
votes
1 answer

PySyde2 / fbs freeze / fail to execute script main

Hope you doing well guys! I am starting a project using PyCharm and also a Virtual Env. Can someone help please? I have these file: main.py with the code: from fbs_runtime.application_context.PySide2 import ApplicationContext import sys from…
fyardlest
  • 288
  • 4
  • 17
0
votes
1 answer

Failed to execute script fbs_pyinstaller_hook for pyqt5 gui application

I'm trying to build my python pyqt5 gui application for windows, after running: fbs startproject fbs freeze using pyinstaller I get also the same results this is my spec file: # -*- mode: python ; coding: utf-8 -*- block_cipher =…
JareBear
  • 467
  • 9
  • 27
0
votes
1 answer

How do I package an Sqlite3 database with my Python3 fbs package?

I am building a Python app using FBS, but part of it relies on an SQLite3 database. I have code to create this database if it doesn't find this, using a try-catch block. When I try to run it after compiling, it not only can not find the preexisting…
luknuk
  • 35
  • 6
0
votes
1 answer

Unable to package and open my PyQt GUI using Fman FBS

I am trying to package my GUI application into an application using FMan FBS. 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…
cupoftea
  • 69
  • 11
0
votes
1 answer

Freezing app with pyinstaller or fbs changes default color scheme of pyside2 app

MacOS PySide2 5.12.3 I built a GUI using fbs and pyside2. Everything works fine when issuing fbs run, but when I freeze the app fbs freeze and launch the target/dist version the app color scheme is reversed. I confirmed it with the fbs-tutorial…
jbdev
  • 711
  • 3
  • 11
0
votes
1 answer

PyQt and OpenCV interfering

I try to make a PyQT application but when I try to make a desktop app out of it I get this error message: ImportError: dlopen(/Users/seansdahl/SpaceNewsApp/target/SpaceNews.app/Contents/MacOS/cv2/cv2.cpython-37m-darwin.so, 2): Symbol not found:…
SdahlSean
  • 573
  • 3
  • 13
0
votes
0 answers

Adding ressource to ressources in fbs (python)

I am trying to make a desktop application with qt. I now want to turn it into a real app. Therefore I am using the fbs module. I have a main python file and sone resources. I want to access my resources from the python file. I know that I can get…
SdahlSean
  • 573
  • 3
  • 13
1 2
3