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
3
votes
1 answer

Access fbs resource files in non-GUI code

Using fbs to package a PyQt5 app, what could be the cleanest way to access resource files from non-GUI code? In the example below, I made a simple PyQt5 app with one window containing one button. The button triggers a function that will read a .json…
Gustave Coste
  • 677
  • 5
  • 19
2
votes
2 answers

Python ImportError: DLL load failed: The specified module could not be found on fman build system (fbs)

I encountered error when i am trying to convert my python scripts to EXE using fman build system (fbs). This error happened when i tried to run the program on Python 3.6 in cmd in virtual environment. I am using Python 3.6 and pyinstaller 3.4. Below…
2
votes
1 answer

setwindowtitle is not replicated in ubuntu side tool bar PyQt5

I am trying to create an application using PyQt5, FBS, and QtDesigner My app works as I expected My problem is while I move the cursor over my app icon in ubuntu sidebar, its hover says unknown I using the following line in my…
Sammu Sundar
  • 556
  • 3
  • 9
  • 24
2
votes
1 answer

Pass a .ui file created with Qt designer to fbs for packaging

i have written a Python application and I would like to distribute it. I have built a GUI on top of it and works fine so far. I use the following to set up the GUI: qtCreatorFile = "gui.ui" Ui_MainWindow, QtBaseClass =…
DiNik
  • 117
  • 1
  • 1
  • 7
2
votes
1 answer

How to make an installer the way it creates an icon on desktop?

I've got ready, already compiled python application for windows but there is a problem with making an installer, which creates desktop icon for it when you check a corresponding mark. I made an installer using clean NSIS script, fbs and pynsist.…
Tymofii Koval
  • 153
  • 1
  • 8
1
vote
1 answer

Running fbs freeze binary causes segmentation fault; MacOs, python

Using fbs to compile PyQt5 python GUI into a runnable app. Running Mac M1 v12.6. Of course, this is my first python GUI, so I'm sure I'm doing something wrong here. fbs run launches the program without issue. Everything works. fbs freeze finishes…
1
vote
0 answers

Cannot bundle namespace package 'mpl_toolkits'

Good morning ! I am using pynsist to create a windows installer for a script written in python. I have listed all the packages the script needs in the [Include] section. When I run the python -m nsist installer.cfg command to generate the installer,…
Abdoul
  • 11
  • 1
1
vote
0 answers

Can't add background image on Mac install window

How can I add the background image or text on this screen while installing my own build application on Mac?? I'm using FBS and pyinstaller to packaging the app.
1
vote
1 answer

Unable to setIcons in pyqt5 while using fbs

I am unable to set Icon to my push button in my pyqt application when using with fbs. It doesn't give error no matter what path i give to QIcon function, due to which i am unable to figure out where i am going wrong My Code appctxt =…
R K
  • 29
  • 3
1
vote
0 answers

Compiling PyQt5 using FBS: Linking to libraries whose path cannot be found

I am working on an GUI using PyQt5 and am using FBS to create the executable. The code runs fine when "FBS run" is used. But FBS freeze throws up a few errors and the resulting app does not run. The errors are below: 46255 ERROR: Can not find path…
srutayus
  • 11
  • 2
1
vote
1 answer

Failed to execute script fbs_pyinstaller_hook

I'm trying to create an executable file from the my PyQt5 application. my system specs: ubuntu 18.04 python (3.6.9) fbs (0.8.9) matplotlib (3.3.0) numpy (1.19.1) pandas (1.1.0) I'm following fbs tutorial to build a executable file from my…
Shahriar.M
  • 818
  • 1
  • 11
  • 24
1
vote
2 answers

Using FBS's get resource method in qss definitions?

I have a seperate qss stylesheet that contains my stylesheet definitions for my entire app. I need to add a close button as background image since I couldnt find documentation on using inbuilt icons. customTabBar::close-button { padding: 0px; …
Blaine
  • 576
  • 9
  • 30
1
vote
0 answers

Deploying PyQT5 using FBS with a SQLITE Database

I am using these 'required' versions of: Python 3.6.4 PyQt5 5.9.2 Running “fbs" I have absolutely no problem getting my application to work through “fbs run”… the application runs perfectly I complete my “fbs freeze”… no problem but after I run…
ctacta1
  • 67
  • 1
  • 8
1
vote
2 answers

fbs freeze failed with Python 3.6.4

I have the following problem with fbs and Python: I tried to compile Python code and wanted to create an executable .exe file in windows. The command fbs run works fine, but fbs freeze fails. Package versions: Python 3.6.4 PyInstaller: 3.4 PyQt5:…
Markus
  • 101
  • 1
  • 7
1
vote
0 answers

Which versions of fbs, PySide2, shiboken2 and python do you use to distribute Qt for Python project?

I've tried many different things and for now I'm not sure. Maybe there are some compability errors. The fbs tutorial says that it works with 3.6 v of python and can work with errors on 3.7. But when I'm using 3.6 v of python, import of PySide2…
Jofumi
  • 75
  • 3
1
2 3