Re: v2.0-rc1 not starting, runtime not building

Поиск
Список
Период
Сортировка
От Neel Patel
Тема Re: v2.0-rc1 not starting, runtime not building
Дата
Msg-id CACCA4P1V4QC6R6SJpQbZ_f651P6mqX4McdrwHG=fG-YChU9CdQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: v2.0-rc1 not starting, runtime not building  (Willy-Bas Loos <willybas@gmail.com>)
Список pgadmin-support
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(char const*, char const*, char const*, QCoreApplication::Encoding)'
ConfigWindow.cpp:(.text+0x57e): undefined reference to `QCoreApplication::translate(char const*, char const*, char const*, QCoreApplication::Encoding)'
ConfigWindow.cpp:(.text+0x5c4): undefined reference to `QCoreApplication::translate(char 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[_ZTV12ConfigWindow]+0x60): undefined reference to `QObject::connectNotify(char const*)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigWindow]+0x68): undefined reference to `QObject::disconnectNotify(char const*)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigWindow]+0x160): undefined reference to `QWidget::x11Event(_XEvent*)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigWindow]+0x190): undefined reference to `QWidget::styleChange(QStyle&)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigWindow]+0x198): undefined reference to `QWidget::enabledChange(bool)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigWindow]+0x1a0): undefined reference to `QWidget::paletteChange(QPalette const&)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigWindow]+0x1a8): undefined reference to `QWidget::fontChange(QFont const&)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigWindow]+0x1b0): undefined reference to `QWidget::windowActivationChange(bool)'
moc_ConfigWindow.o:(.rodata._ZTV12ConfigWindow[_ZTV12ConfigWindow]+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

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

Предыдущее
От: Willy-Bas Loos
Дата:
Сообщение: Re: v2.0-rc1 not starting, runtime not building
Следующее
От: Johann Spies
Дата:
Сообщение: Re: Query tool - file browser