Re: pgadmin server-status does not display

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgadmin server-status does not display
Дата
Msg-id CA+OCxow7ZW7d82uZrrT2Rco9fqnLzrE2PkagQe_UxRx3WDUYHQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgadmin server-status does not display  (Walter Nordmann <wnordmann@gmx.de>)
Ответы Re: pgadmin server-status does not display
Список pgadmin-support
Hi

On Fri, Nov 11, 2016 at 2:34 PM, Walter Nordmann <wnordmann@gmx.de> wrote:
>
> Problems making pgadmin4
>
> /opt/install/postgresql/pgadmin4/pgadmin4-1.1/runtime$ qmake
> Project MESSAGE: Building for QT5+...
> Project MESSAGE: Building for Linux/Mac...
> Project MESSAGE: Using /usr/bin/python-config
> Project MESSAGE: Python2 detected.
> walter@server2:/opt/install/postgresql/pgadmin4/pgadmin4-1.1/runtime$ make
> g++ -c -m64 -pipe -I/usr/include/python2.7
> -I/usr/include/x86_64-linux-gnu/python2.7 -O2 -Wall -W -D_REENTRANT -fPIC
> -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB
> -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem
> /usr/include/x86_64-linux-gnu/qt5 -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I.
> -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o pgAdmin4.o
> pgAdmin4.cpp
> ...
> ...
> ...
> g++ -c -m64 -pipe -I/usr/include/python2.7
> -I/usr/include/x86_64-linux-gnu/python2.7 -O2 -Wall -W -D_REENTRANT -fPIC
> -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB
> -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem
> /usr/include/x86_64-linux-gnu/qt5 -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I.
> -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o ConfigWindow.o
> ConfigWindow.cpp
> In file included from ConfigWindow.cpp:13:0:
> ui_ConfigWindow.h:13:25: fatal error: QtGui/QAction: Datei oder Verzeichnis
> nicht gefunden
>  #include <QtGui/QAction>
>                          ^
>
> and make is right. there is no QtGui/Qaction on my system (fresh installed
> qt5 dev packages)

Hmm, I'm not an Ubuntu user, but I grabbed a copy and gave it a try
and found I needed to install the following:

qt5-default
python-dev
libqt5webkit5-dev

That was enough to build the runtime - of course, there's more to do
to get the Python side going, but the README should help with that.

One caveat - for v1.2 we're moving from QtWebKit to QtWebEngine by
default, plus we have some other fixes in the runtime to make it more
stable. Unfortunately it seems that Ubuntu don't yet include
QtWebEngine, though it is on it's way according to
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1579265/comments/6

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgadmin-support по дате отправления:

Предыдущее
От: Walter Nordmann
Дата:
Сообщение: Re: pgadmin server-status does not display
Следующее
От: Дмитрий Воронин
Дата:
Сообщение: pgadmin III and future support