Video #110
This is a longer video than usual :)
You do not need to know much about python to follow this and if you know python well, the video should still help you clarify the plugin build process.
In the video I create a Hello Mars plugin - in honour of Ingenuity flying around on Mars. After all, its ALWAYS been Hello World and now we have moved on... :)
The info you need:
Python comes standalone of course from but also with ArcGIS and OSGEO:
- with QGIS etc...
Your default plugin folder:
C:\Users\YOU\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\
QTDesigner can be found in the Start Menu and is installed by QGIS
Install PB-TOOL:
py -m pip install pb-tool
Use this to upgrade PIP if you need to (I did!): py -m pip install --upgrade pip
To compile your resources, you also need:
py -m pip install pyqt5ac
Make sure your PATH is set to be able to see your Python .exes and also scripts. Just type PY or PBT at command line to see if it all hangs together***
Use *pbt compile* in your plugin folder and then use Manage Plugins in QGIS to add your plugin.
All the info on the PB-TOOL can be discovered here:
And all about PyQt5 can be found here:
***If typing PBT gives you an error...
If you go to the Windows command line by clicking on start menu and type “CMD” – that should come up with the Windows Command prompt.
When it displays that Command window, type pbt and press return and see what happens. If the path is fine then you will get a load of text with various instructions.
If you just get an error then you will need to alter an environment variable (PATH).
Press Start menu and type PATH. It will offer you to edit system environment variables.
You need to add something like:
C:\Users\*your windows user name*\AppData\Local\Programs\Python\Python38-32\Scripts
…to the end of the PATH variable.
That’s because is stored in that scripts folder.
That should fix your issue.
1 view
198
60
1 month ago 00:05:17 1
The Ultimate Email Extractor in 2024: YellowPages Scraper 🌎
1 month ago 00:03:55 1
Pokemon GO Joystick, Teleport, Auto Walk - How to Get Pokemon GO Spoofer iOS & Android 2024 FREE
1 month ago 00:12:05 1
ZenBusiness Review 2024: What Makes It Stand Out?
1 month ago 00:04:14 1
Paramore: Decode [OFFICIAL VIDEO]
1 month ago 02:01:18 1
Half-Life 2: 20th Anniversary Documentary
1 month ago 00:36:24 2
Best of the Worst Trivia!
1 month ago 00:03:07 1
Delta Executor iOS iPhone Android NO KEY - Roblox Script Executor Mobile NEW UPDATE 2024
1 month ago 00:03:04 1
Bach, Organ Sonata No. 4 in E minor (BWV 528) 3. Un poco Allegro.
1 month ago 00:04:49 1
Play To Earn🔥This New Play to Earn Game is About to Make a Lot of People RICH
1 month ago 00:03:04 1
Arena Of Valor Hack - How to Get Unlimited Vouchers! iOS Android