Thread: v2.0-rc1 not starting, runtime not building
Hi,
I just did a pull from Git and trouble starting pgAdmin4 since.I am now at commit 512afd66182f463e6ce9515910205d cf0221e58c
This is on ubuntu 16.04.03, using python3 and firefox 55.0.2
I did a fresh pip install -r requirements.txt
(pgadmin4) wbloos@wb:~/python-files/pgadm
ERROR: [Errno 2] No such file or directory: 'run'
2017-09-11 17:18:39,412: ERROR pgadmin: Unable to generate javascript
2017-09-11 17:18:39,412: ERROR pgadmin: To run the app ensure that yarn install command runs successfully
Traceback (most recent call last):
File "pgAdmin4.py", line 79, in <module>
raise Exception("No generated javascript, aborting")
Exception: No generated javascript, aborting
ERROR: [Errno 2] No such file or directory: 'install'
The same goes for "yarn run" and "yarn --run=bundle:dev"Is there a file missing?
I'm not sure if this is also the cause of the web page not loading. The line of code is only executed if Debug=True
Also, the desktop runtime is (still) not building (same in both checked out versions).
(pgadmin4) wbloos@wb:~/python-files/pgadmin4/runtime$ qmake
Project MESSAGE: Building for QT5+...
Project MESSAGE: Using QWebEngine...
Project MESSAGE: Building for Linux/Mac...
Project MESSAGE: Using /home/wbloos/.virtualenvs/pgadmin4/bin/python-config
Project MESSAGE: Python3 detected.
Project ERROR: Unknown module(s) in QT: webenginewidgets
Project MESSAGE: Building for QT5+...
Project MESSAGE: Using QWebEngine...
Project MESSAGE: Building for Linux/Mac...
Project MESSAGE: Using /home/wbloos/.virtualenvs/pgadmin4/bin/python-config
Project MESSAGE: Python3 detected.
Project ERROR: Unknown module(s) in QT: webenginewidgets
Even though i do have libqt5webkit5-dev installed.
Is there any other diagnosis that i can perform for more insight?
Cheers,
--
Willy-Bas Loos
I mentioned "both checked out versions", i forgot to describe that.
I checked out REL-1_6 (and a new install of the requirements) as an attempt to be able to use pgAdmin4 again, but it doesn't help much.On Tue, Sep 12, 2017 at 12:24 PM, Willy-Bas Loos <willybas@gmail.com> wrote:
I tried entering the web directory and running yarn install, and that's where i find the same error again:I checked where the Erno 2 comes from, it's in the function try_building_js() of javascript_bundler.py . The line that calls yarn.But when visiting that page, there's no CSS is the background and a grey layer in the foreground, displayiong the text "Loading pgAdmin 4 v2.0-rc1.." without any progress.With Debug = False, the server starts (Starting pgAdmin 4. Please navigate to http://127.0.0.1:5050 in your browser.)Hi,I just did a pull from Git and trouble starting pgAdmin4 since.I am now at commit 512afd66182f463e6ce9515910205dcf0221e58c This is on ubuntu 16.04.03, using python3 and firefox 55.0.2I did a fresh pip install -r requirements.txtWith Debug = True, i got the following errors and execution aborted:
(pgadmin4) wbloos@wb:~/python-files/pgadmin4/web$ python pgAdmin4.py
ERROR: [Errno 2] No such file or directory: 'run'
2017-09-11 17:18:39,412: ERROR pgadmin: Unable to generate javascript
2017-09-11 17:18:39,412: ERROR pgadmin: To run the app ensure that yarn install command runs successfully
Traceback (most recent call last):
File "pgAdmin4.py", line 79, in <module>
raise Exception("No generated javascript, aborting")
Exception: No generated javascript, abortingERROR: [Errno 2] No such file or directory: 'install'The same goes for "yarn run" and "yarn --run=bundle:dev"Is there a file missing?I'm not sure if this is also the cause of the web page not loading. The line of code is only executed if Debug=TrueAlso, the desktop runtime is (still) not building (same in both checked out versions).(pgadmin4) wbloos@wb:~/python-files/pgadmin4/runtime$ qmake
Project MESSAGE: Building for QT5+...
Project MESSAGE: Using QWebEngine...
Project MESSAGE: Building for Linux/Mac...
Project MESSAGE: Using /home/wbloos/.virtualenvs/pgadmin4/bin/python-config
Project MESSAGE: Python3 detected.
Project ERROR: Unknown module(s) in QT: webenginewidgetsEven though i do have libqt5webkit5-dev installed.Is there any other diagnosis that i can perform for more insight?Cheers,--Willy-Bas Loos
--
Willy-Bas Loos
Hi
--
On Tue, Sep 12, 2017 at 11:24 AM, Willy-Bas Loos <willybas@gmail.com> wrote:
I tried entering the web directory and running yarn install, and that's where i find the same error again:I checked where the Erno 2 comes from, it's in the function try_building_js() of javascript_bundler.py . The line that calls yarn.But when visiting that page, there's no CSS is the background and a grey layer in the foreground, displayiong the text "Loading pgAdmin 4 v2.0-rc1.." without any progress.With Debug = False, the server starts (Starting pgAdmin 4. Please navigate to http://127.0.0.1:5050 in your browser.)Hi,I just did a pull from Git and trouble starting pgAdmin4 since.I am now at commit 512afd66182f463e6ce9515910205dcf0221e58c This is on ubuntu 16.04.03, using python3 and firefox 55.0.2I did a fresh pip install -r requirements.txtWith Debug = True, i got the following errors and execution aborted:
(pgadmin4) wbloos@wb:~/python-files/pgadmin4/web$ python pgAdmin4.py
ERROR: [Errno 2] No such file or directory: 'run'
2017-09-11 17:18:39,412: ERROR pgadmin: Unable to generate javascript
2017-09-11 17:18:39,412: ERROR pgadmin: To run the app ensure that yarn install command runs successfully
Traceback (most recent call last):
File "pgAdmin4.py", line 79, in <module>
raise Exception("No generated javascript, aborting")
Exception: No generated javascript, abortingERROR: [Errno 2] No such file or directory: 'install'The same goes for "yarn run" and "yarn --run=bundle:dev"
If you're getting those errors when running yarn directly, that implies there's something wrong with your yarn installation. What is the full output from "yarn install" when run from the web/ directory?
Is there a file missing?I'm not sure if this is also the cause of the web page not loading. The line of code is only executed if Debug=TrueAlso, the desktop runtime is (still) not building (same in both checked out versions).(pgadmin4) wbloos@wb:~/python-files/pgadmin4/runtime$ qmake
Project MESSAGE: Building for QT5+...
Project MESSAGE: Using QWebEngine...
Project MESSAGE: Building for Linux/Mac...
Project MESSAGE: Using /home/wbloos/.virtualenvs/pgadmin4/bin/python-config
Project MESSAGE: Python3 detected.
Project ERROR: Unknown module(s) in QT: webenginewidgetsEven though i do have libqt5webkit5-dev installed.Is there any other diagnosis that i can perform for more insight?
If you're using QT 5.0+, then it'll default to QtWebEngine, which I guess you don't have installed. QtWebKit is generally preferred for performance reasons; you can force the use of that with:
qmake "DEFINES += PGADMIN4_USE_WEBKIT"
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Hi thanks for answering.
On Tue, Sep 12, 2017 at 12:45 PM, Dave Page <dpage@pgadmin.org> wrote:
HiOn Tue, Sep 12, 2017 at 11:24 AM, Willy-Bas Loos <willybas@gmail.com> wrote:I tried entering the web directory and running yarn install, and that's where i find the same error again:ERROR: [Errno 2] No such file or directory: 'install'The same goes for "yarn run" and "yarn --run=bundle:dev"If you're getting those errors when running yarn directly, that implies there's something wrong with your yarn installation. What is the full output from "yarn install" when run from the web/ directory?
It seems that we were talking about different products that both go by the name "yarn". I deinstalled cmdtest and installed the yarn that is a dependency manager for javascript.
I also checked out REL-2_0-RC1 again.
Then:
(pgadmin4) wbloos@wb:~/python-files/pgadmin4/web$ yarn install
yarn install v1.0.1
warning package.json: No license field
warning No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.2: The platform "linux" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
error extract-text-webpack-plugin@2.1.2: The engine "node" is incompatible with this module. Expected version ">=4.3.0 < 5.0.0 || >= 5.10".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
(pgadmin4) wbloos@wb:~/python-files/pgadmin4/web$ python pgAdmin4.py
Starting pgAdmin 4. Please navigate to http://127.0.0.1:5050 in your browser.
yarn install v1.0.1
warning package.json: No license field
warning No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.2: The platform "linux" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
error extract-text-webpack-plugin@2.1.2: The engine "node" is incompatible with this module. Expected version ">=4.3.0 < 5.0.0 || >= 5.10".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
(pgadmin4) wbloos@wb:~/python-files/pgadmin4/web$ python pgAdmin4.py
Starting pgAdmin 4. Please navigate to http://127.0.0.1:5050 in your browser.
The errors persist.
Also, the desktop runtime is (still) not building (same in both checked out versions).If you're using QT 5.0+, then it'll default to QtWebEngine, which I guess you don't have installed. QtWebKit is generally preferred for performance reasons; you can force the use of that with:qmake "DEFINES += PGADMIN4_USE_WEBKIT"
Which i do, afaik. dpkg -l tells me that i have version 5.5.1 of qt5-default:amd64, qt5-qmake:amd6, pyqt5-dev, python3-pyqt5 and many more derived package names.
When i run the runtime, it misses flask. Which is in the requirements.
pip freeze says: Flask==0.11.1
(pgadmin4) wbloos@wb:~/python-files/pgadmin4/runtime$ ./pgAdmin4
Python path: "/home/wbloos/.virtualenvs/pgadmin4/bin/"
Python Home: ""
Webapp path: "/home/wbloos/python-files/pgadmin4/web/pgAdmin4.py"
Traceback (most recent call last):
File "/home/wbloos/python-files/pgadmin4/web/pgAdmin4.py", line 34, in <module>
import config
File "/home/wbloos/python-files/pgadmin4/web/config.py", line 30, in <module>
from pgadmin.utils import env, IS_PY2, IS_WIN, fs_short_path
File "/home/wbloos/python-files/pgadmin4/web/pgadmin/__init__.py", line 17, in <module>
from flask import Flask, abort, request, current_app, session, url_for
ImportError: No module named flask
"Failed to launch the application server, server thread exiting."
Python path: "/home/wbloos/.virtualenvs/pgadmin4/bin/"
Python Home: ""
Webapp path: "/home/wbloos/python-files/pgadmin4/web/pgAdmin4.py"
Traceback (most recent call last):
File "/home/wbloos/python-files/pgadmin4/web/pgAdmin4.py", line 34, in <module>
import config
File "/home/wbloos/python-files/pgadmin4/web/config.py", line 30, in <module>
from pgadmin.utils import env, IS_PY2, IS_WIN, fs_short_path
File "/home/wbloos/python-files/pgadmin4/web/pgadmin/__init__.py", line 17, in <module>
from flask import Flask, abort, request, current_app, session, url_for
ImportError: No module named flask
"Failed to launch the application server, server thread exiting."
Willy-Bas Loos
Hi
On Tue, Sep 12, 2017 at 5:02 PM, Willy-Bas Loos <willybas@gmail.com> wrote:
Hi thanks for answering.On Tue, Sep 12, 2017 at 12:45 PM, Dave Page <dpage@pgadmin.org> wrote:HiOn Tue, Sep 12, 2017 at 11:24 AM, Willy-Bas Loos <willybas@gmail.com> wrote:I tried entering the web directory and running yarn install, and that's where i find the same error again:ERROR: [Errno 2] No such file or directory: 'install'The same goes for "yarn run" and "yarn --run=bundle:dev"If you're getting those errors when running yarn directly, that implies there's something wrong with your yarn installation. What is the full output from "yarn install" when run from the web/ directory?It seems that we were talking about different products that both go by the name "yarn". I deinstalled cmdtest and installed the yarn that is a dependency manager for javascript.I also checked out REL-2_0-RC1 again.Then:(pgadmin4) wbloos@wb:~/python-files/pgadmin4/web$ yarn install
yarn install v1.0.1
warning package.json: No license field
warning No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.2: The platform "linux" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
error extract-text-webpack-plugin@2.1.2: The engine "node" is incompatible with this module. Expected version ">=4.3.0 < 5.0.0 || >= 5.10".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
(pgadmin4) wbloos@wb:~/python-files/pgadmin4/web$ python pgAdmin4.py
Starting pgAdmin 4. Please navigate to http://127.0.0.1:5050 in your browser.The errors persist.
It seems the node version used is outdated. Please upgrade to latest version of node and then run `yarn install`
Also, the desktop runtime is (still) not building (same in both checked out versions).If you're using QT 5.0+, then it'll default to QtWebEngine, which I guess you don't have installed. QtWebKit is generally preferred for performance reasons; you can force the use of that with:qmake "DEFINES += PGADMIN4_USE_WEBKIT"Ah, when i use that, it builds. With the warning that i should definitely use Qt 5.5.0Which i do, afaik. dpkg -l tells me that i have version 5.5.1 of qt5-default:amd64, qt5-qmake:amd6, pyqt5-dev, python3-pyqt5 and many more derived package names.When i run the runtime, it misses flask. Which is in the requirements.pip freeze says: Flask==0.11.1(pgadmin4) wbloos@wb:~/python-files/pgadmin4/runtime$ ./pgAdmin4
Python path: "/home/wbloos/.virtualenvs/pgadmin4/bin/"
Python Home: ""
Webapp path: "/home/wbloos/python-files/pgadmin4/web/pgAdmin4.py"
Traceback (most recent call last):
File "/home/wbloos/python-files/pgadmin4/web/pgAdmin4.py", line 34, in <module>
import config
File "/home/wbloos/python-files/pgadmin4/web/config.py", line 30, in <module>
from pgadmin.utils import env, IS_PY2, IS_WIN, fs_short_path
File "/home/wbloos/python-files/pgadmin4/web/pgadmin/__init__.py" , line 17, in <module>
from flask import Flask, abort, request, current_app, session, url_for
ImportError: No module named flask
"Failed to launch the application server, server thread exiting."--Willy-Bas Loos
Hi
On Tue, Sep 12, 2017 at 1:50 PM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote:
It seems the node version used is outdated. Please upgrade to latest version of node and then run `yarn install`
nodejs:amd64 (4.2.6~dfsg-1ubuntu4.1) was installed by apt as a dependency of yarn today, which i got from this repository:
deb https://dl.yarnpkg.com/debian/ stable main
deb https://dl.yarnpkg.com/debian/ stable main
So some consideration might have to go to making this available once to 16.04 users that don't want to compile stuff.
Anyhow, i removed yarn including nodejs and compiled the latest stable nodejs, then reinstalled yarn
After that yarn install gives some warnings and works.
I then need to set Debug to True to get the web interface to start.
And then it starts :D :D Looks great too.
Only sadly all my settings seem to have been lost.
Thanks for your help on that. I hope other ubuntu users profit from it somewhat.
Any ideas considering the runtime trouble with flask? (below)
Also, the desktop runtime is (still) not building (same in both checked out versions).If you're using QT 5.0+, then it'll default to QtWebEngine, which I guess you don't have installed. QtWebKit is generally preferred for performance reasons; you can force the use of that with:qmake "DEFINES += PGADMIN4_USE_WEBKIT"Ah, when i use that, it builds. With the warning that i should definitely use Qt 5.5.0Which i do, afaik. dpkg -l tells me that i have version 5.5.1 of qt5-default:amd64, qt5-qmake:amd6, pyqt5-dev, python3-pyqt5 and many more derived package names.When i run the runtime, it misses flask. Which is in the requirements.pip freeze says: Flask==0.11.1(pgadmin4) wbloos@wb:~/python-files/pgadmin4/runtime$ ./pgAdmin4
Python path: "/home/wbloos/.virtualenvs/pgadmin4/bin/"
Python Home: ""
Webapp path: "/home/wbloos/python-files/pgadmin4/web/pgAdmin4.py"
Traceback (most recent call last):
File "/home/wbloos/python-files/pgadmin4/web/pgAdmin4.py", line 34, in <module>
import config
File "/home/wbloos/python-files/pgadmin4/web/config.py", line 30, in <module>
from pgadmin.utils import env, IS_PY2, IS_WIN, fs_short_path
File "/home/wbloos/python-files/pgadmin4/web/pgadmin/__init__.py" , line 17, in <module>
from flask import Flask, abort, request, current_app, session, url_for
ImportError: No module named flask
"Failed to launch the application server, server thread exiting."--Willy-Bas Loos
--
Willy-Bas Loos
On Tue, Sep 12, 2017 at 4:33 PM, Willy-Bas Loos <willybas@gmail.com> wrote:
Any ideas considering the runtime trouble with flask?
oops, turns out i overlooked that i need to run make too, not just qmake. So i was actually running an old executable.
make gives me ld errors. Any idea?
ConfigWindow.o: In function `ConfigWindow::~ConfigWindow()
ConfigWindow.cpp:(.text+0x55): undefined reference to `QString::free(QString::Data*)
ConfigWindow.cpp:(.text+0x65): undefined reference to `QString::free(QString::Data*)
ConfigWindow.o: In function `ConfigWindow::ConfigWindow(
ConfigWindow.cpp:(.text+0x128)
ConfigWindow.cpp:(.text+0x12f)
ConfigWindow.cpp:(.text+0x13a)
ConfigWindow.cpp:(.text+0x141)
ConfigWindow.cpp:(.text+0x18e)
ConfigWindow.cpp:(.text+0x227)
ConfigWindow.cpp:(.text+0x27f)
ConfigWindow.cpp:(.text+0x2ff)
ConfigWindow.cpp:(.text+0x36a)
ConfigWindow.o:ConfigWindow.
ConfigWindow.o: In function `ConfigWindow::ConfigWindow(
ConfigWindow.cpp:(.text+0x539)
ConfigWindow.cpp:(.text+0x57e)
ConfigWindow.cpp:(.text+0x5c4)
ConfigWindow.cpp:(.text+0x641)
ConfigWindow.cpp:(.text+0x659)
ConfigWindow.cpp:(.text+0x669)
ConfigWindow.cpp:(.text+0x681)
ConfigWindow.cpp:(.text+0x696)
ConfigWindow.o:ConfigWindow.
moc_ConfigWindow.o:(.rodata._
moc_ConfigWindow.o:(.rodata._
moc_ConfigWindow.o:(.rodata._
moc_ConfigWindow.o:(.rodata._
moc_ConfigWindow.o:(.rodata._
moc_ConfigWindow.o:(.rodata._
moc_ConfigWindow.o:(.rodata._
moc_ConfigWindow.o:(.rodata._
moc_ConfigWindow.o:(.rodata._
collect2: error: ld returned 1 exit status
Makefile:175: recipe for target 'pgAdmin4' failed
make: *** [pgAdmin4] Error 1

--
Willy-Bas Loos
Hi,
On Wed, Sep 13, 2017 at 10:36 PM, Willy-Bas Loos <willybas@gmail.com> wrote:
On Tue, Sep 12, 2017 at 4:33 PM, Willy-Bas Loos <willybas@gmail.com> wrote:Any ideas considering the runtime trouble with flask?
oops, turns out i overlooked that i need to run make too, not just qmake. So i was actually running an old executable.make gives me ld errors. Any idea?g++ -m64 -lpython3.5m -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-O1 -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o pgAdmin4 pgAdmin4.o BrowserWindow.o Server.o TabWindow.o WebViewWindow.o ConfigWindow.o qrc_pgAdmin4.o moc_BrowserWindow.o moc_Server.o moc_TabWindow.o moc_WebViewWindow.o moc_ConfigWindow.o -L/usr/X11R6/lib64 -lpython3.5m -ldl -lutil -lm -lQt5WebKitWidgets -lQt5Widgets -lQt5WebKit -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread
ConfigWindow.o: In function `ConfigWindow::~ConfigWindow()':
ConfigWindow.cpp:(.text+0x55): undefined reference to `QString::free(QString::Data*)'
ConfigWindow.cpp:(.text+0x65): undefined reference to `QString::free(QString::Data*)'
ConfigWindow.o: In function `ConfigWindow::ConfigWindow(QWidget*)':
ConfigWindow.cpp:(.text+0x128): undefined reference to `QString::shared_null'
ConfigWindow.cpp:(.text+0x12f): undefined reference to `QString::shared_null'
ConfigWindow.cpp:(.text+0x13a): undefined reference to `QString::shared_null'
ConfigWindow.cpp:(.text+0x141): undefined reference to `QString::shared_null'
ConfigWindow.cpp:(.text+0x18e): undefined reference to `QString::fromUtf8(char const*, int)'
ConfigWindow.cpp:(.text+0x227): undefined reference to `QString::fromUtf8(char const*, int)'
ConfigWindow.cpp:(.text+0x27f): undefined reference to `QString::fromUtf8(char const*, int)'
ConfigWindow.cpp:(.text+0x2ff): undefined reference to `QString::fromUtf8(char const*, int)'
ConfigWindow.cpp:(.text+0x36a): undefined reference to `QString::fromUtf8(char const*, int)'
ConfigWindow.o:ConfigWindow.cpp:(.text+0x3e2): more undefined references to `QString::fromUtf8(char const*, int)' follow
ConfigWindow.o: In function `ConfigWindow::ConfigWindow(QWidget*)':
ConfigWindow.cpp:(.text+0x539): undefined reference to `QCoreApplication::translate(c har const*, char const*, char const*, QCoreApplication::Encoding)'
ConfigWindow.cpp:(.text+0x57e): undefined reference to `QCoreApplication::translate(c har const*, char const*, char const*, QCoreApplication::Encoding)'
ConfigWindow.cpp:(.text+0x5c4): undefined reference to `QCoreApplication::translate(c har const*, char const*, char const*, QCoreApplication::Encoding)'
ConfigWindow.cpp:(.text+0x641): undefined reference to `QString::free(QString::Data*) '
ConfigWindow.cpp:(.text+0x659): undefined reference to `QString::free(QString::Data*) '
ConfigWindow.cpp:(.text+0x669): undefined reference to `QString::free(QString::Data*) '
ConfigWindow.cpp:(.text+0x681): undefined reference to `QString::free(QString::Data*) '
ConfigWindow.cpp:(.text+0x696): undefined reference to `QString::free(QString::Data*) '
ConfigWindow.o:ConfigWindow.cpp:(.text+0x6a6): more undefined references to `QString::free(QString::Data*) ' follow
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigW indow]+0x60): undefined reference to `QObject::connectNotify(char const*)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigW indow]+0x68): undefined reference to `QObject::disconnectNotify(cha r const*)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigW indow]+0x160): undefined reference to `QWidget::x11Event(_XEvent*)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigW indow]+0x190): undefined reference to `QWidget::styleChange(QStyle&) '
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigW indow]+0x198): undefined reference to `QWidget::enabledChange(bool)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigW indow]+0x1a0): undefined reference to `QWidget::paletteChange(QPalet te const&)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigW indow]+0x1a8): undefined reference to `QWidget::fontChange(QFont const&)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigW indow]+0x1b0): undefined reference to `QWidget::windowActivationChan ge(bool)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigW indow]+0x1b8): undefined reference to `QWidget::languageChange()'
collect2: error: ld returned 1 exit status
Makefile:175: recipe for target 'pgAdmin4' failed
make: *** [pgAdmin4] Error 1
Here - what I am suspecting is headers and library used are of different version of Qt.
Have you installed both versions of Qt4 & Qt5 ?
Are you using QtCreator for building runtime ? If yes- there may be some wrong configuration with pgAdmin4 project. Can you please try with command line and give me output of "qmake" & "make" in text file ?
--Willy-Bas Loos