Re: pgAdmin 4 as Web application

Поиск
Список
Период
Сортировка
От Neel Patel
Тема Re: pgAdmin 4 as Web application
Дата
Msg-id CACCA4P3QZ5vbhDbZre7Dt=fQHHRHwuLqJHzo5BzH3Zqh5RY1XQ@mail.gmail.com
обсуждение исходный текст
Ответ на pgAdmin 4 as Web application  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Ответы Re: pgAdmin 4 as Web application  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgadmin-hackers
Hi,

From the logs, it looks like - Qt webkit component is missing in Qt4 installation.
Are you building Qt from source, If yes then there will be option in configure script to build Qt4 with webkit.
If you are not using source code, try installing webkit with yum (e.g. yum install libqt4-webkit).

Thanks,
Neel Patel


On Mon, Aug 8, 2016 at 8:37 PM, Albe Laurenz <laurenz.albe@wien.gv.at> wrote:
I'm trying to follow
https://www.pgadmin.org/docs4/dev/server_deployment.html
to install pgAdmin 4 as web application on RHEL 6, but I didn't get very far:

There is no file "pgAdmin4.wsgi" available for download.
Did I miss something obvious?


So I tried to build from source, and failed immediately with

laurenz:~/rpmbuild/pgadmin4-1.0-beta3/runtime> qmake-qt4
Project MESSAGE: Building for QT4...
Project MESSAGE: Building for Linux/Mac...
Project MESSAGE: Using /usr/bin/python-config
Project MESSAGE: Python2 detected.

laurenz:~/rpmbuild/pgadmin4-1.0-beta3/runtime> make
g++ -c -m64 -pipe -I/usr/include/python2.6 -I/usr/include/python2.6 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtWebKit -I/usr/include -I. -I. -o pgAdmin4.o pgAdmin4.cpp
In file included from TabWindow.h:16,
                 from BrowserWindow.h:16,
                 from pgAdmin4.cpp:28:
WebViewWindow.h:20:20: error: QWebView: No such file or directory
In file included from TabWindow.h:16,
                 from BrowserWindow.h:16,
                 from pgAdmin4.cpp:28:
WebViewWindow.h:24: error: expected class-name before ‘{’ token
make: *** [pgAdmin4.o] Error 1

I searched the web, but could not find any answers how to install
Qt Webkit on RHEL 6.

Can you help?

Yours,
Laurenz Albe

--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

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

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Update message catalog.
Следующее
От: Dave Page
Дата:
Сообщение: Re: pgAdmin 4 as Web application