Qt Designer crashes using QWebEngineView - qt-designer

Qt Designer (5.11.2) crashes on selecting the QWebEngineView-Widget.
I am creating a dialogform for including it in QGIS 3 as .ui file. In the form I want to display a website by using the QWebEngineView.
Sadly I am not able to drag the widget inside the dialog window, because Qt Designer crashes instantly on clicking the QWebEngineView button. The issue appears with Qt Designer provided with QGIS 3.3.0 as well as QGIS 3.2.3.
In the Windows Event Viewer I get the errorcode 0xC0000022.
Is someone stuggling with the same issue and has any ideas for solving it?

I do have the same issue without any use i know about qgis,
Only qtdesigner, that instantly crashes when clicking qtwebs..Ico
Looking everywhere for it, i don't find anything clear.
Bad installs
Missing files
Conflits between envs...
I do have:
Ubuntu 20.04
Python 3.9.9 with classic idle
Qt 5.12.2
Pyqt5 as installed with apt-get
(Even qtwebengine, cause i couldn't install or compile simple in any other without a strong internet connection)

Related

How can I fix Eclipse IDE interface on a Chromebook?

I've successfully installed Eclipse IDE on my HP Chromebook x360 14c, which has Linux Debian. When the installation finished, I got a message on the terminal, talking about the webkit. And when I tried to launch the program, I saw the buttons broken. Fortunately, there was an update button that fixed that up. The IDE opened and I worked well. The second time I try to use it, the buttons and general interface are all broken. You can see the pictures attached to this post. Can anybody give me some help?broken linux interface
terminal message

pygame running very slowly 12fps - Upgraded laptop

I'm relatively new to using python have used pygame as a place to better understand how everything comes together.
I recently upgraded my laptop form a 2012 Macbook to the 2019.
Just wondering why the games I made on my 2012 are running soo much slower on my 2019 macbook. Managing packages with conda.
I don't know much but I suspect it may have to do with either
The comp resolution upgrade (which I'm doubtful)
method of installation of pygame
Initially, I Downloaded python3 with homebrew and then installed pygame (pygame would show a blank screen)
I then installed conda and managed packages through it.
I doubt it has to do with the way I have written it, I'm sure it's quite inefficient but I was achieving fps's of 60 for the same code.
If someone could guide me to where to find out more information It would be greatly appreciated.
Cheers.
This seems to be a problem with how MacOS run Pygame. While your game is running, right-click it's icon in the Dock and select Show in Finder. Then in the Folder that shows up, you will see the Python Interpreter executable. Right-click it and click Get Info, and under General check the Open in Low Resolution.
Now your game should run fine. And no, Pygame's resolution will not be "Low".
I resolved this issue by launching pygame in fullscreen. More of a workaround but a solution nonetheless.
Also if you do choose to do this be sure to create a key to exit the screen otherwise you'll need to restart your computer.

Minimizing application with qt

I created (in Qt5 under Linux) a small QMainWindow app.
I noticed that when I'm clicking on the minimizing button, I cannot see my app anymore. In other term, I cannot see it in the bar !?
I tried with docky, cairo-dock and native Mint bar and... nothing work !)
Any idea ?
Is this running it in the debug mode inside of Qt Creator? Maybe you have to deploy it and run it outside of Qt Creator for it to get its own button on the dock/taskbar.
If not, you might have a bug that should be reported to qt.

Running PyQt4 demos --- How?

I have recently downloaded and installed the latest release of PyQt4 for Windows. I have tested some simple PyQt4 examples and have seen no obvious problems. However, I am unable to execute the demos when I follow the directions given in the readme file of the demos:
Finding the PyQt Examples and Demos launcher
============================================
On Windows:
The launcher can be accessed via the Windows Start menu. Select the menu
entry entitled "Examples and Demos" entry in the submenu containing PyQt4.
I have no problem finding and clicking on the "Examples and Demos" entry; but, I am never able to see a demo actually execute. I am using Windows Vista (32-bit) with Python 2.6?
Try to go to <PythonInstallation>\Lib\site-packages\PyQt4\examples in a cmd prompt and see if you can run the examples directly from there. That should at least give you some error messages if it doesn't work.
The louncher should be runnable from demos\qtdemo\qtdemo.pyw, but you also can run the single examples without the louncer.

Open website from within eclipse's internal browser?

Could anyone help me with opening web pages from within Eclipse's internal (embedded) browser? I'm running Linux (tiling window manager) and Eclipse-3.7.2 side-by-side with browser and it's a pain.
I want this to be able to comfortably read requirements from my code and at the same time code. This could be a question for superuser but it's Eclipse related so I guess I have better shot for an answer here.
Thanks in advance.
edit: I'm running gentoo linux and swt-3.7.1 with compiled in xulrunner support.
edit2: adding picture of gui menu in response to answer bellow.
Open Window / Customize Perspective... menu then on "Command Group Availability" tab find "Web Browser" entry and make sure it is checked. Then confirm that "Web Browser" is also checked on "Tool Bar Visibility" tab. Then you should see a web browser globe icon on toolbar that would open a web browser editor in the IDE.
Though you'll have to change settings on your picture to use "Internal Web Browser" then it will be opened as an Eclipse editor.
I know the question is old but I just had the same problem and was able to find the soloution.
The internal browser of SWT is using the webkitgtk browser engine. Because you're running gentoo I suppose you currently have net-libs/webkit-gtk:3 installed which is incompatible with SWT. But this is no problem because you can install the compatible net-libs/webkit-gtk:2 in a new slot.
Just install it like this:
emerge net-libs/webkit-gtk:2
After the package is installed the internal webbrowser is working again (for me)
Regards
Martin
On Ubuntu 13.04 using Eclipse it automagically worked, I was not sure which webkit I was missing, so I installed all that seemed relevant, if someone has pinpointed which it is, please comment,
Regards,
Gabriel Medina
aptitude install libqt4-webkit libqt5webkit5 libqtscript4-webkit libqtwebkit4 libswt-webkit-gtk-3-jni libwebkitgtk-1.0-0 libwebkitgtk-3.0-0

Resources