Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile errors #13

Closed
osa1 opened this issue Sep 25, 2017 · 18 comments
Closed

compile errors #13

osa1 opened this issue Sep 25, 2017 · 18 comments

Comments

@osa1
Copy link

osa1 commented Sep 25, 2017

So I just installed a new system and it turns out libqt4 version is different here and vim-qt doesn't compile:

gui_qt.cpp:42:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 static char *dummy_argv[] = {"qvim", NULL};
                                          ^
gui_qt.cpp: In function ‘void gui_mch_update_fuoptions(char_u*)’:
gui_qt.cpp:72:39: warning: unused parameter ‘optstr’ [-Wunused-parameter]
 void gui_mch_update_fuoptions(char_u *optstr)
                                       ^~~~~~
gui_qt.cpp: In function ‘int gui_mch_wait_for_chars(long int)’:
gui_qt.cpp:210:49: error: ‘void QTimer::timeout()’ is protected within this context
  QObject::connect(&channel_poll_timer, &QTimer::timeout, []() {
                                                 ^~~~~~~
In file included from /usr/include/QtCore/QTimer:1:0,
                 from gui_qt.cpp:16:
/usr/include/QtCore/qtimer.h:92:10: note: declared protected here
     void timeout();
          ^~~~~~~
gui_qt.cpp:213:4: error: no matching function for call to ‘QObject::connect(QTimer*, void (QTimer::*)(), gui_mch_wait_for_chars(long int)::<lambda()>)’
   });
    ^
In file included from /usr/include/QtCore/qcoreapplication.h:45:0,
                 from /usr/include/QtGui/qapplication.h:45,
                 from /usr/include/QtGui/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/QtCore/qobject.h:204:17: note: candidate: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static bool connect(const QObject *sender, const char *signal,
                 ^~~~~~~
/usr/include/QtCore/qobject.h:204:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/QtCore/qobject.h:217:17: note: candidate: static bool QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static bool connect(const QObject *sender, const QMetaMethod &signal,
                 ^~~~~~~
/usr/include/QtCore/qobject.h:217:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/QtCore/qobject.h:337:13: note: candidate: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline bool QObject::connect(const QObject *asender, const char *asignal,
             ^~~~~~~
/usr/include/QtCore/qobject.h:337:13: note:   no known conversion for argument 2 from ‘void (QTimer::*)()’ to ‘const char*’
gui_qt.cpp: In function ‘int gui_mch_init_font(char_u*, int)’:
gui_qt.cpp:345:42: warning: unused parameter ‘do_fontset’ [-Wunused-parameter]
 gui_mch_init_font(char_u *font_name, int do_fontset)
                                          ^~~~~~~~~~
gui_qt.cpp: In function ‘int gui_mch_init()’:
gui_qt.cpp:536:16: warning: unused variable ‘app’ [-Wunused-variable]
  QApplication *app = new QApplication(dummy_argc, dummy_argv, useGUI);
                ^~~
gui_qt.cpp: In function ‘void gui_mch_prepare(int*, char**)’:
gui_qt.cpp:623:22: warning: unused parameter ‘argc’ [-Wunused-parameter]
 gui_mch_prepare(int *argc, char **argv)
                      ^~~~
gui_qt.cpp:623:35: warning: unused parameter ‘argv’ [-Wunused-parameter]
 gui_mch_prepare(int *argc, char **argv)
                                   ^~~~
gui_qt.cpp: In function ‘void gui_mch_set_shellsize(int, int, int, int, int, int, int)’:
gui_qt.cpp:634:50: warning: unused parameter ‘min_width’ [-Wunused-parameter]
 gui_mch_set_shellsize(int width, int height, int min_width, int min_height,
                                                  ^~~~~~~~~
gui_qt.cpp:634:65: warning: unused parameter ‘min_height’ [-Wunused-parameter]
 gui_mch_set_shellsize(int width, int height, int min_width, int min_height,
                                                                 ^~~~~~~~~~
gui_qt.cpp:635:11: warning: unused parameter ‘base_width’ [-Wunused-parameter]
       int base_width, int base_height, int direction)
           ^~~~~~~~~~
gui_qt.cpp:635:27: warning: unused parameter ‘base_height’ [-Wunused-parameter]
       int base_width, int base_height, int direction)
                           ^~~~~~~~~~~
gui_qt.cpp:635:44: warning: unused parameter ‘direction’ [-Wunused-parameter]
       int base_width, int base_height, int direction)
                                            ^~~~~~~~~
gui_qt.cpp: In function ‘void gui_mch_settitle(char_u*, char_u*)’:
gui_qt.cpp:729:41: warning: unused parameter ‘icon’ [-Wunused-parameter]
 gui_mch_settitle(char_u *title, char_u *icon)
                                         ^~~~
gui_qt.cpp: In function ‘void gui_mch_exit(int)’:
gui_qt.cpp:822:18: warning: unused parameter ‘rc’ [-Wunused-parameter]
 gui_mch_exit(int rc)
                  ^~
gui_qt.cpp: In function ‘int clip_mch_own_selection(VimClipboard*)’:
gui_qt.cpp:856:38: warning: unused parameter ‘cbd’ [-Wunused-parameter]
 clip_mch_own_selection(VimClipboard *cbd)
                                      ^~~
gui_qt.cpp: In function ‘void clip_mch_lose_selection(VimClipboard*)’:
gui_qt.cpp:865:39: warning: unused parameter ‘cbd’ [-Wunused-parameter]
 clip_mch_lose_selection(VimClipboard *cbd)
                                       ^~~
gui_qt.cpp: In function ‘void gui_mch_set_text_area_pos(int, int, int, int)’:
gui_qt.cpp:1123:31: warning: unused parameter ‘x’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                               ^
gui_qt.cpp:1123:38: warning: unused parameter ‘y’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                                      ^
gui_qt.cpp:1123:45: warning: unused parameter ‘w’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                                             ^
gui_qt.cpp:1123:52: warning: unused parameter ‘h’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                                                    ^
gui_qt.cpp: In function ‘void gui_mch_set_toolbar_pos(int, int, int, int)’:
gui_qt.cpp:1163:29: warning: unused parameter ‘x’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                             ^
gui_qt.cpp:1163:36: warning: unused parameter ‘y’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                                    ^
gui_qt.cpp:1163:43: warning: unused parameter ‘w’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                                           ^
gui_qt.cpp:1163:50: warning: unused parameter ‘h’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                                                  ^
gui_qt.cpp: In function ‘void gui_mch_set_menu_pos(int, int, int, int)’:
gui_qt.cpp:1258:26: warning: unused parameter ‘x’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                          ^
gui_qt.cpp:1258:33: warning: unused parameter ‘y’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                                 ^
gui_qt.cpp:1258:40: warning: unused parameter ‘w’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                                        ^
gui_qt.cpp:1258:47: warning: unused parameter ‘h’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                                               ^
gui_qt.cpp: In function ‘void gui_mch_enable_scrollbar(scrollbar_T*, int)’:
gui_qt.cpp:1440:39: warning: unused parameter ‘sb’ [-Wunused-parameter]
 gui_mch_enable_scrollbar(scrollbar_T *sb, int flag)
                                       ^~
gui_qt.cpp:1440:47: warning: unused parameter ‘flag’ [-Wunused-parameter]
 gui_mch_enable_scrollbar(scrollbar_T *sb, int flag)
                                               ^~~~
gui_qt.cpp: In function ‘char_u* gui_mch_browse(int, char_u*, char_u*, char_u*, char_u*, char_u*)’:
gui_qt.cpp:1502:51: warning: unused parameter ‘dflt’ [-Wunused-parameter]
 gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *vimfilter)
                                                   ^~~~
gui_qt.cpp:1502:65: warning: unused parameter ‘ext’ [-Wunused-parameter]
 gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *vimfilter)
                                                                 ^~~
gui_qt.cpp: In function ‘int gui_mch_dialog(int, char_u*, char_u*, char_u*, int, char_u*, int)’:
gui_qt.cpp:1550:99: warning: unused parameter ‘textfield’ [-Wunused-parameter]
 gui_mch_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd)
                                                                                                   ^~~~~~~~~
gui_qt.cpp:1550:114: warning: unused parameter ‘ex_cmd’ [-Wunused-parameter]
 gui_mch_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd)
                                                                                                                  ^~~~~~
gui_qt.cpp: In function ‘char_u* gui_mch_font_dialog(char_u*)’:
gui_qt.cpp:1696:7: warning: unused variable ‘ok’ [-Wunused-variable]
  bool ok;
       ^~
gui_qt.cpp: In function ‘void* qt_socket_notifier_read(int, void (*)(int))’:
gui_qt.cpp:1807:41: error: ‘void QSocketNotifier::activated(int)’ is protected within this context
  QObject::connect(in, &QSocketNotifier::activated, [fd, fptr]() {
                                         ^~~~~~~~~
In file included from /usr/include/QtCore/QSocketNotifier:1:0,
                 from gui_qt.cpp:15:
/usr/include/QtCore/qsocketnotifier.h:76:10: note: declared protected here
     void activated(int socket);
          ^~~~~~~~~
gui_qt.cpp:1809:4: error: no matching function for call to ‘QObject::connect(QSocketNotifier*&, void (QSocketNotifier::*)(int), qt_socket_notifier_read(int, void (*)(int))::<lambda()>)’
   });
    ^
In file included from /usr/include/QtCore/qcoreapplication.h:45:0,
                 from /usr/include/QtGui/qapplication.h:45,
                 from /usr/include/QtGui/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/QtCore/qobject.h:204:17: note: candidate: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static bool connect(const QObject *sender, const char *signal,
                 ^~~~~~~
/usr/include/QtCore/qobject.h:204:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/QtCore/qobject.h:217:17: note: candidate: static bool QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static bool connect(const QObject *sender, const QMetaMethod &signal,
                 ^~~~~~~
/usr/include/QtCore/qobject.h:217:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/QtCore/qobject.h:337:13: note: candidate: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline bool QObject::connect(const QObject *asender, const char *asignal,
             ^~~~~~~
/usr/include/QtCore/qobject.h:337:13: note:   no known conversion for argument 2 from ‘void (QSocketNotifier::*)(int)’ to ‘const char*’
gui_qt.cpp: In function ‘void* qt_socket_notifier_ex(int, void (*)(int))’:
gui_qt.cpp:1816:42: error: ‘void QSocketNotifier::activated(int)’ is protected within this context
  QObject::connect(err, &QSocketNotifier::activated, [fd, fptr]() {
                                          ^~~~~~~~~
In file included from /usr/include/QtCore/QSocketNotifier:1:0,
                 from gui_qt.cpp:15:
/usr/include/QtCore/qsocketnotifier.h:76:10: note: declared protected here
     void activated(int socket);
          ^~~~~~~~~
gui_qt.cpp:1818:4: error: no matching function for call to ‘QObject::connect(QSocketNotifier*&, void (QSocketNotifier::*)(int), qt_socket_notifier_ex(int, void (*)(int))::<lambda()>)’
   });
    ^
In file included from /usr/include/QtCore/qcoreapplication.h:45:0,
                 from /usr/include/QtGui/qapplication.h:45,
                 from /usr/include/QtGui/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/QtCore/qobject.h:204:17: note: candidate: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static bool connect(const QObject *sender, const char *signal,
                 ^~~~~~~
/usr/include/QtCore/qobject.h:204:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/QtCore/qobject.h:217:17: note: candidate: static bool QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static bool connect(const QObject *sender, const QMetaMethod &signal,
                 ^~~~~~~
/usr/include/QtCore/qobject.h:217:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/QtCore/qobject.h:337:13: note: candidate: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline bool QObject::connect(const QObject *asender, const char *asignal,
             ^~~~~~~
/usr/include/QtCore/qobject.h:337:13: note:   no known conversion for argument 2 from ‘void (QSocketNotifier::*)(int)’ to ‘const char*’
make[1]: *** [Makefile:3112: objects/gui_qt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
if_perl.xs: In function ‘perl_to_vim’:
if_perl.xs:1100:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
      if (!SvROK(sv)) { /* references should be string */
         ^
if_perl.xs:1104:2: note: here
  case SVt_PV: /* string */
  ^~~~
make: *** [Makefile:29: first] Error 2

The package manager says I have libqt-4.8.7 installed. I hope this is easy to fix because nvim-qt is much slower than vim-qt (probably because of the neovim API overhead).

@equalsraf
Copy link
Owner

IIRC probably a result of my earlier change in #12, I forgot those might be incompatible with Qt4.

Does it work if you try with an earlier version? 61a8bd2

@osa1
Copy link
Author

osa1 commented Sep 25, 2017

Does it work if you try with an earlier version? 61a8bd2

That version worked.

@osa1
Copy link
Author

osa1 commented Sep 25, 2017

I forgot those might be incompatible with Qt4

I can install qt5 packages, does that work if I do that?

@equalsraf
Copy link
Owner

Yes, it should work. I'm running 5.8 here but earlier versions should be good too.

@osa1
Copy link
Author

osa1 commented Sep 27, 2017

I installed qt5 dev packages -- what configure flags should I use to use those instead of qt4 libraries?

@equalsraf
Copy link
Owner

Try with --with-qt-qmake=qmake-qt5. Assuming qmake=qt5 is the correct binary in your system.

@osa1
Copy link
Author

osa1 commented Sep 27, 2017

It still doesn't work:

$ /usr/bin/qmake --version
QMake version 3.0
Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu

$ ./configure --with-features=huge \
              --prefix=/home/omer \
              --enable-pythoninterp \
              --enable-python3interp \
              --enable-rubyinterp \
              --enable-perlinterp \
              --with-python-config-dir= /usr/lib/python2.7/config-x86_64-linux-gnu \
              --with-python3-config-dir=/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu --enable-gui=qt --with-qt-qmake=/usr/bin/qmake

$ make -j4 >stdout 2>stderr

$ cat stderr
In file included from vim.h:472:0,
                 from screen.c:90:
screen.c: In function ‘win_line’:
macros.h:176:29: warning: comparison is always true due to limited range of data type [-Wtype-limits]
 #define VIM_ISBREAK(c) ((c) < 256 && breakat_flags[(char_u)(c)])
                             ^
screen.c:4709:29: note: in expansion of macro ‘VIM_ISBREAK’
       && VIM_ISBREAK(c) && !VIM_ISBREAK((int)*ptr))
                             ^
gui.c: In function ‘gui_outstr_nowrap’:
gui.c:2219:10: warning: variable ‘multi_sign’ set but not used [-Wunused-but-set-variable]
     int  multi_sign = FALSE;
          ^
qt/colortable.h:0: Note: No relevant classes found. No output generated.
gui_qt.cpp:42:42: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
 static char *dummy_argv[] = {"qvim", NULL};
                                          ^
qt/colortable.cpp:686:59: warning: unused parameter ‘fallback’ [-Wunused-parameter]
 QColor ColorTable::get(const QString& name, const QColor& fallback)
                                                           ^
gui_qt.cpp:72:39: warning: unused parameter ‘optstr’ [-Wunused-parameter]
 void gui_mch_update_fuoptions(char_u *optstr)
                                       ^
gui_qt.cpp: In function ‘int gui_mch_wait_for_chars(long int)’:
gui_qt.cpp:213:3: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
   });
   ^
gui_qt.cpp:213:4: error: no matching function for call to ‘QObject::connect(QTimer*, void (QTimer::*)(QTimer::QPrivateSignal), gui_mch_wait_for_chars(long int)::<lambda()>)’
   });
    ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:40:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:37,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:196:36: note: candidate: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:196:36: note:   candidate expects 5 arguments, 3 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:199:36: note: candidate: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:199:36: note:   candidate expects 5 arguments, 3 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:475:32: note: candidate: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:475:32: note:   no known conversion for argument 2 from ‘void (QTimer::*)(QTimer::QPrivateSignal)’ to ‘const char*’
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:213:43: note: candidate: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:213:43: note:   template argument deduction/substitution failed:
gui_qt.cpp:213:4: note:   candidate expects 5 arguments, 3 provided
   });
    ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:40:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:37,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:245:13: note: candidate: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:245:13: note:   template argument deduction/substitution failed:
gui_qt.cpp: In substitution of ‘template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2) [with Func1 = void (QTimer::*)(QTimer::QPrivateSignal); Func2 = gui_mch_wait_for_chars(long int)::<lambda()>]’:
gui_qt.cpp:213:4:   required from here
gui_qt.cpp:213:4: error: template argument for ‘template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’ uses local type ‘gui_mch_wait_for_chars(long int)::<lambda()>’
   });
    ^
gui_qt.cpp:213:4: error:   trying to instantiate ‘template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:40:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:37,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:254:13: note: candidate: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:254:13: note:   template argument deduction/substitution failed:
gui_qt.cpp:213:4: note:   cannot convert ‘<lambda closure object>gui_mch_wait_for_chars(long int)::<lambda()>{}’ (type ‘gui_mch_wait_for_chars(long int)::<lambda()>’) to type ‘const QObject*’
   });
    ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:40:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:37,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:285:13: note: candidate: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:285:13: note:   template argument deduction/substitution failed:
gui_qt.cpp: In substitution of ‘template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2) [with Func1 = void (QTimer::*)(QTimer::QPrivateSignal); Func2 = gui_mch_wait_for_chars(long int)::<lambda()>]’:
gui_qt.cpp:213:4:   required from here
gui_qt.cpp:213:4: error: template argument for ‘template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’ uses local type ‘gui_mch_wait_for_chars(long int)::<lambda()>’
   });
    ^
gui_qt.cpp:213:4: error:   trying to instantiate ‘template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:40:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:37,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:293:13: note: candidate: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:293:13: note:   template argument deduction/substitution failed:
gui_qt.cpp:213:4: note:   cannot convert ‘<lambda closure object>gui_mch_wait_for_chars(long int)::<lambda()>{}’ (type ‘gui_mch_wait_for_chars(long int)::<lambda()>’) to type ‘const QObject*’
   });
    ^
gui_qt.cpp: At global scope:
gui_qt.cpp:345:42: warning: unused parameter ‘do_fontset’ [-Wunused-parameter]
 gui_mch_init_font(char_u *font_name, int do_fontset)
                                          ^
gui_qt.cpp: In function ‘int gui_mch_init()’:
gui_qt.cpp:536:16: warning: unused variable ‘app’ [-Wunused-variable]
  QApplication *app = new QApplication(dummy_argc, dummy_argv, useGUI);
                ^
gui_qt.cpp: At global scope:
gui_qt.cpp:623:22: warning: unused parameter ‘argc’ [-Wunused-parameter]
 gui_mch_prepare(int *argc, char **argv)
                      ^
gui_qt.cpp:623:35: warning: unused parameter ‘argv’ [-Wunused-parameter]
 gui_mch_prepare(int *argc, char **argv)
                                   ^
gui_qt.cpp:634:50: warning: unused parameter ‘min_width’ [-Wunused-parameter]
 gui_mch_set_shellsize(int width, int height, int min_width, int min_height,
                                                  ^
gui_qt.cpp:634:65: warning: unused parameter ‘min_height’ [-Wunused-parameter]
 gui_mch_set_shellsize(int width, int height, int min_width, int min_height,
                                                                 ^
gui_qt.cpp:635:11: warning: unused parameter ‘base_width’ [-Wunused-parameter]
       int base_width, int base_height, int direction)
           ^
gui_qt.cpp:635:27: warning: unused parameter ‘base_height’ [-Wunused-parameter]
       int base_width, int base_height, int direction)
                           ^
gui_qt.cpp:635:44: warning: unused parameter ‘direction’ [-Wunused-parameter]
       int base_width, int base_height, int direction)
                                            ^
gui_qt.cpp:729:41: warning: unused parameter ‘icon’ [-Wunused-parameter]
 gui_mch_settitle(char_u *title, char_u *icon)
                                         ^
gui_qt.cpp:822:18: warning: unused parameter ‘rc’ [-Wunused-parameter]
 gui_mch_exit(int rc)
                  ^
gui_qt.cpp:856:38: warning: unused parameter ‘cbd’ [-Wunused-parameter]
 clip_mch_own_selection(VimClipboard *cbd)
                                      ^
gui_qt.cpp:865:39: warning: unused parameter ‘cbd’ [-Wunused-parameter]
 clip_mch_lose_selection(VimClipboard *cbd)
                                       ^
gui_qt.cpp:1123:31: warning: unused parameter ‘x’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                               ^
gui_qt.cpp:1123:38: warning: unused parameter ‘y’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                                      ^
gui_qt.cpp:1123:45: warning: unused parameter ‘w’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                                             ^
gui_qt.cpp:1123:52: warning: unused parameter ‘h’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                                                    ^
gui_qt.cpp:1163:29: warning: unused parameter ‘x’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                             ^
gui_qt.cpp:1163:36: warning: unused parameter ‘y’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                                    ^
gui_qt.cpp:1163:43: warning: unused parameter ‘w’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                                           ^
gui_qt.cpp:1163:50: warning: unused parameter ‘h’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                                                  ^
gui_qt.cpp:1258:26: warning: unused parameter ‘x’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                          ^
gui_qt.cpp:1258:33: warning: unused parameter ‘y’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                                 ^
gui_qt.cpp:1258:40: warning: unused parameter ‘w’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                                        ^
gui_qt.cpp:1258:47: warning: unused parameter ‘h’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                                               ^
gui_qt.cpp:1440:39: warning: unused parameter ‘sb’ [-Wunused-parameter]
 gui_mch_enable_scrollbar(scrollbar_T *sb, int flag)
                                       ^
gui_qt.cpp:1440:47: warning: unused parameter ‘flag’ [-Wunused-parameter]
 gui_mch_enable_scrollbar(scrollbar_T *sb, int flag)
                                               ^
gui_qt.cpp:1502:51: warning: unused parameter ‘dflt’ [-Wunused-parameter]
 gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *vimfilter)
                                                   ^
gui_qt.cpp:1502:65: warning: unused parameter ‘ext’ [-Wunused-parameter]
 gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *vimfilter)
                                                                 ^
gui_qt.cpp:1550:99: warning: unused parameter ‘textfield’ [-Wunused-parameter]
 gui_mch_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd)
                                                                                                   ^
gui_qt.cpp:1550:114: warning: unused parameter ‘ex_cmd’ [-Wunused-parameter]
 gui_mch_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd)
                                                                                                                  ^
gui_qt.cpp: In function ‘char_u* gui_mch_font_dialog(char_u*)’:
gui_qt.cpp:1696:7: warning: unused variable ‘ok’ [-Wunused-variable]
  bool ok;
       ^
gui_qt.cpp: In function ‘void* qt_socket_notifier_read(int, void (*)(int))’:
gui_qt.cpp:1806:2: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
  auto in = new QSocketNotifier(fd, QSocketNotifier::Read);
  ^
gui_qt.cpp:1806:7: error: ‘in’ does not name a type
  auto in = new QSocketNotifier(fd, QSocketNotifier::Read);
       ^
gui_qt.cpp:1807:19: error: ‘in’ was not declared in this scope
  QObject::connect(in, &QSocketNotifier::activated, [fd, fptr]() {
                   ^
gui_qt.cpp:1809:3: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
   });
   ^
gui_qt.cpp: In function ‘void* qt_socket_notifier_ex(int, void (*)(int))’:
gui_qt.cpp:1815:2: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
  auto err = new QSocketNotifier(fd, QSocketNotifier::Exception);
  ^
gui_qt.cpp:1815:7: error: ‘err’ does not name a type
  auto err = new QSocketNotifier(fd, QSocketNotifier::Exception);
       ^
gui_qt.cpp:1816:19: error: ‘err’ was not declared in this scope
  QObject::connect(err, &QSocketNotifier::activated, [fd, fptr]() {
                   ^
gui_qt.cpp:1818:3: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
   });
   ^
gui_qt.cpp: In function ‘void qt_remove_socket_notifier(void*)’:
gui_qt.cpp:1827:2: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
  auto n = (QSocketNotifier *) inp;
  ^
gui_qt.cpp:1827:7: error: ‘n’ does not name a type
  auto n = (QSocketNotifier *) inp;
       ^
gui_qt.cpp:1828:2: error: ‘n’ was not declared in this scope
  n->setEnabled(false);
  ^
make[1]: *** [objects/gui_qt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
qt/fontdialog.cpp:200:68: warning: unused parameter ‘parent’ [-Wunused-parameter]
 QFont FontDialog::getFont(bool *ok, const QFont& oldfont, QWidget *parent)
                                                                    ^
make: *** [first] Error 2

@equalsraf
Copy link
Owner

What OS and compiler version are you using?

@osa1
Copy link
Author

osa1 commented Oct 20, 2017

$ uname -a
Linux omer 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@equalsraf
Copy link
Owner

Ok fixed in #17

@Mte90
Copy link

Mte90 commented Dec 27, 2017

I am getting this errors:

gui_qt.cpp:42:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 static char *dummy_argv[] = {"qvim", NULL};
                                          ^
gui_qt.cpp: In function ‘void gui_mch_update_fuoptions(char_u*)’:
gui_qt.cpp:72:39: warning: unused parameter ‘optstr’ [-Wunused-parameter]
 void gui_mch_update_fuoptions(char_u *optstr)
                                       ^~~~~~
gui_qt.cpp: In function ‘int gui_mch_wait_for_chars(long int)’:
gui_qt.cpp:210:49: error: ‘void QTimer::timeout()’ is protected within this context
  QObject::connect(&channel_poll_timer, &QTimer::timeout, []() {
                                                 ^~~~~~~
In file included from /usr/include/qt4/QtCore/QTimer:1:0,
                 from gui_qt.cpp:16:
/usr/include/qt4/QtCore/qtimer.h:92:10: note: declared protected here
     void timeout();
          ^~~~~~~
gui_qt.cpp:213:4: error: no matching function for call to ‘QObject::connect(QTimer*, void (QTimer::*)(), gui_mch_wait_for_chars(long int)::<lambda()>)’
   });
    ^
In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45:0,
                 from /usr/include/qt4/QtGui/qapplication.h:45,
                 from /usr/include/qt4/QtGui/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/qt4/QtCore/qobject.h:204:17: note: candidate: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static bool connect(const QObject *sender, const char *signal,
                 ^~~~~~~
/usr/include/qt4/QtCore/qobject.h:204:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/qt4/QtCore/qobject.h:217:17: note: candidate: static bool QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static bool connect(const QObject *sender, const QMetaMethod &signal,
                 ^~~~~~~
/usr/include/qt4/QtCore/qobject.h:217:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/qt4/QtCore/qobject.h:337:13: note: candidate: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline bool QObject::connect(const QObject *asender, const char *asignal,
             ^~~~~~~
/usr/include/qt4/QtCore/qobject.h:337:13: note:   no known conversion for argument 2 from ‘void (QTimer::*)()’ to ‘const char*’
gui_qt.cpp: In function ‘int gui_mch_init_font(char_u*, int)’:
gui_qt.cpp:345:42: warning: unused parameter ‘do_fontset’ [-Wunused-parameter]
 gui_mch_init_font(char_u *font_name, int do_fontset)
                                          ^~~~~~~~~~
gui_qt.cpp: In function ‘int gui_mch_init()’:
gui_qt.cpp:536:16: warning: unused variable ‘app’ [-Wunused-variable]
  QApplication *app = new QApplication(dummy_argc, dummy_argv, useGUI);
                ^~~
gui_qt.cpp: In function ‘void gui_mch_prepare(int*, char**)’:
gui_qt.cpp:623:22: warning: unused parameter ‘argc’ [-Wunused-parameter]
 gui_mch_prepare(int *argc, char **argv)
                      ^~~~
gui_qt.cpp:623:35: warning: unused parameter ‘argv’ [-Wunused-parameter]
 gui_mch_prepare(int *argc, char **argv)
                                   ^~~~
gui_qt.cpp: In function ‘void gui_mch_set_shellsize(int, int, int, int, int, int, int)’:
gui_qt.cpp:634:50: warning: unused parameter ‘min_width’ [-Wunused-parameter]
 gui_mch_set_shellsize(int width, int height, int min_width, int min_height,
                                                  ^~~~~~~~~
gui_qt.cpp:634:65: warning: unused parameter ‘min_height’ [-Wunused-parameter]
 gui_mch_set_shellsize(int width, int height, int min_width, int min_height,
                                                                 ^~~~~~~~~~
gui_qt.cpp:635:11: warning: unused parameter ‘base_width’ [-Wunused-parameter]
       int base_width, int base_height, int direction)
           ^~~~~~~~~~
gui_qt.cpp:635:27: warning: unused parameter ‘base_height’ [-Wunused-parameter]
       int base_width, int base_height, int direction)
                           ^~~~~~~~~~~
gui_qt.cpp:635:44: warning: unused parameter ‘direction’ [-Wunused-parameter]
       int base_width, int base_height, int direction)
                                            ^~~~~~~~~
gui_qt.cpp: In function ‘void gui_mch_settitle(char_u*, char_u*)’:
gui_qt.cpp:729:41: warning: unused parameter ‘icon’ [-Wunused-parameter]
 gui_mch_settitle(char_u *title, char_u *icon)
                                         ^~~~
gui_qt.cpp: In function ‘void gui_mch_exit(int)’:
gui_qt.cpp:822:18: warning: unused parameter ‘rc’ [-Wunused-parameter]
 gui_mch_exit(int rc)
                  ^~
gui_qt.cpp: In function ‘int clip_mch_own_selection(VimClipboard*)’:
gui_qt.cpp:856:38: warning: unused parameter ‘cbd’ [-Wunused-parameter]
 clip_mch_own_selection(VimClipboard *cbd)
                                      ^~~
gui_qt.cpp: In function ‘void clip_mch_lose_selection(VimClipboard*)’:
gui_qt.cpp:865:39: warning: unused parameter ‘cbd’ [-Wunused-parameter]
 clip_mch_lose_selection(VimClipboard *cbd)
                                       ^~~
gui_qt.cpp: In function ‘void gui_mch_set_text_area_pos(int, int, int, int)’:
gui_qt.cpp:1123:31: warning: unused parameter ‘x’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                               ^
gui_qt.cpp:1123:38: warning: unused parameter ‘y’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                                      ^
gui_qt.cpp:1123:45: warning: unused parameter ‘w’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                                             ^
gui_qt.cpp:1123:52: warning: unused parameter ‘h’ [-Wunused-parameter]
 gui_mch_set_text_area_pos(int x, int y, int w, int h)
                                                    ^
gui_qt.cpp: In function ‘void gui_mch_set_toolbar_pos(int, int, int, int)’:
gui_qt.cpp:1163:29: warning: unused parameter ‘x’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                             ^
gui_qt.cpp:1163:36: warning: unused parameter ‘y’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                                    ^
gui_qt.cpp:1163:43: warning: unused parameter ‘w’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                                           ^
gui_qt.cpp:1163:50: warning: unused parameter ‘h’ [-Wunused-parameter]
 gui_mch_set_toolbar_pos(int x, int y, int w, int h)
                                                  ^
gui_qt.cpp: In function ‘void gui_mch_set_menu_pos(int, int, int, int)’:
gui_qt.cpp:1258:26: warning: unused parameter ‘x’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                          ^
gui_qt.cpp:1258:33: warning: unused parameter ‘y’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                                 ^
gui_qt.cpp:1258:40: warning: unused parameter ‘w’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                                        ^
gui_qt.cpp:1258:47: warning: unused parameter ‘h’ [-Wunused-parameter]
 gui_mch_set_menu_pos(int x, int y, int w, int h)
                                               ^
gui_qt.cpp: In function ‘void gui_mch_enable_scrollbar(scrollbar_T*, int)’:
gui_qt.cpp:1440:39: warning: unused parameter ‘sb’ [-Wunused-parameter]
 gui_mch_enable_scrollbar(scrollbar_T *sb, int flag)
                                       ^~
gui_qt.cpp:1440:47: warning: unused parameter ‘flag’ [-Wunused-parameter]
 gui_mch_enable_scrollbar(scrollbar_T *sb, int flag)
                                               ^~~~
gui_qt.cpp: In function ‘char_u* gui_mch_browse(int, char_u*, char_u*, char_u*, char_u*, char_u*)’:
gui_qt.cpp:1502:51: warning: unused parameter ‘dflt’ [-Wunused-parameter]
 gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *vimfilter)
                                                   ^~~~
gui_qt.cpp:1502:65: warning: unused parameter ‘ext’ [-Wunused-parameter]
 gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *vimfilter)
                                                                 ^~~
gui_qt.cpp: In function ‘int gui_mch_dialog(int, char_u*, char_u*, char_u*, int, char_u*, int)’:
gui_qt.cpp:1550:99: warning: unused parameter ‘textfield’ [-Wunused-parameter]
 gui_mch_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd)
                                                                                                   ^~~~~~~~~
gui_qt.cpp:1550:114: warning: unused parameter ‘ex_cmd’ [-Wunused-parameter]
 gui_mch_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd)
                                                                                                                  ^~~~~~
gui_qt.cpp: In function ‘char_u* gui_mch_font_dialog(char_u*)’:
gui_qt.cpp:1696:7: warning: unused variable ‘ok’ [-Wunused-variable]
  bool ok;
       ^~
gui_qt.cpp: In function ‘void* qt_socket_notifier_read(int, void (*)(int))’:
gui_qt.cpp:1807:41: error: ‘void QSocketNotifier::activated(int)’ is protected within this context
  QObject::connect(in, &QSocketNotifier::activated, [fd, fptr]() {
                                         ^~~~~~~~~
In file included from /usr/include/qt4/QtCore/QSocketNotifier:1:0,
                 from gui_qt.cpp:15:
/usr/include/qt4/QtCore/qsocketnotifier.h:76:10: note: declared protected here
     void activated(int socket);
          ^~~~~~~~~
gui_qt.cpp:1809:4: error: no matching function for call to ‘QObject::connect(QSocketNotifier*&, void (QSocketNotifier::*)(int), qt_socket_notifier_read(int, void (*)(int))::<lambda()>)’
   });
    ^
In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45:0,
                 from /usr/include/qt4/QtGui/qapplication.h:45,
                 from /usr/include/qt4/QtGui/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/qt4/QtCore/qobject.h:204:17: note: candidate: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static bool connect(const QObject *sender, const char *signal,
                 ^~~~~~~
/usr/include/qt4/QtCore/qobject.h:204:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/qt4/QtCore/qobject.h:217:17: note: candidate: static bool QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static bool connect(const QObject *sender, const QMetaMethod &signal,
                 ^~~~~~~
/usr/include/qt4/QtCore/qobject.h:217:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/qt4/QtCore/qobject.h:337:13: note: candidate: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline bool QObject::connect(const QObject *asender, const char *asignal,
             ^~~~~~~
/usr/include/qt4/QtCore/qobject.h:337:13: note:   no known conversion for argument 2 from ‘void (QSocketNotifier::*)(int)’ to ‘const char*’
gui_qt.cpp: In function ‘void* qt_socket_notifier_ex(int, void (*)(int))’:
gui_qt.cpp:1816:42: error: ‘void QSocketNotifier::activated(int)’ is protected within this context
  QObject::connect(err, &QSocketNotifier::activated, [fd, fptr]() {
                                          ^~~~~~~~~
In file included from /usr/include/qt4/QtCore/QSocketNotifier:1:0,
                 from gui_qt.cpp:15:
/usr/include/qt4/QtCore/qsocketnotifier.h:76:10: note: declared protected here
     void activated(int socket);
          ^~~~~~~~~
gui_qt.cpp:1818:4: error: no matching function for call to ‘QObject::connect(QSocketNotifier*&, void (QSocketNotifier::*)(int), qt_socket_notifier_ex(int, void (*)(int))::<lambda()>)’
   });
    ^
In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45:0,
                 from /usr/include/qt4/QtGui/qapplication.h:45,
                 from /usr/include/qt4/QtGui/QApplication:1,
                 from gui_qt.cpp:1:
/usr/include/qt4/QtCore/qobject.h:204:17: note: candidate: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static bool connect(const QObject *sender, const char *signal,
                 ^~~~~~~
/usr/include/qt4/QtCore/qobject.h:204:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/qt4/QtCore/qobject.h:217:17: note: candidate: static bool QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static bool connect(const QObject *sender, const QMetaMethod &signal,
                 ^~~~~~~
/usr/include/qt4/QtCore/qobject.h:217:17: note:   candidate expects 5 arguments, 3 provided
/usr/include/qt4/QtCore/qobject.h:337:13: note: candidate: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline bool QObject::connect(const QObject *asender, const char *asignal,
             ^~~~~~~
/usr/include/qt4/QtCore/qobject.h:337:13: note:   no known conversion for argument 2 from ‘void (QSocketNotifier::*)(int)’ to ‘const char*’
Makefile:3112: set di istruzioni per l'obiettivo "objects/gui_qt.o" non riuscito
make: *** [objects/gui_qt.o] Errore 1

Gcc say:

gcc --version
gcc (Debian 7.2.0-18) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@equalsraf
Copy link
Owner

@Mte90 c quick glance you seem to be using qt4 instead of qt5

@Mte90
Copy link

Mte90 commented Dec 27, 2017

I am using this parameters:

            --enable-gui=qt \
            --with-qt-qmake=qmake

qmake:

QMake version 3.1
Using Qt version 5.9.2 in /usr/lib/x86_64-linux-gnu

I have also qmake-qt4.

@equalsraf
Copy link
Owner

Strange, it should work indeed, but looking at the error messages the headers are clearly qt4 e.g.

/usr/include/qt4/QtCore/qobject.h:217:17: note:   candidate expects 5 arguments, 3 provided

Can you post the output from configure?

@Mte90
Copy link

Mte90 commented Dec 27, 2017

configure: WARNING: unrecognized options: --enable-sniff
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for library containing strerror... none required
checking for gawk... gawk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking --enable-fail-if-missing argument... no
checking for clang version... N/A
configure: checking for buggy tools...
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking AvailabilityMacros.h usability... no
checking AvailabilityMacros.h presence... no
checking for AvailabilityMacros.h... no
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking linux/xattr.h usability... yes
checking linux/xattr.h presence... yes
checking for linux/xattr.h... yes
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
checking --disable-selinux argument... yes
checking --with-features argument... huge
checking --with-compiledby argument... no
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking --with-luajit... no
checking for lua... no
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... no: PERL DISABLED
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking for python3... /usr/bin/python3
checking Python version... 3.6
checking Python is 3.0 or better... yep
checking Python's abiflags... m
checking Python's install prefix... /usr
checking Python's execution prefix... /usr
checking Python's configuration directory... (cached) /usr/lib/python3.6/config-3.6m-x86_64-linux-gnu/
checking Python3's dll name... libpython3.6m.so.1.0
checking if -pthread should be used... yes
checking if compile and link flags for Python 3 are sane... yes
checking if -fPIE can be added for Python3... yes
checking --enable-tclinterp argument... no
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/bin/ruby
checking Ruby version... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... /usr/include/ruby-2.3.0
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... yes
checking --disable-channel argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... defaulting to yes
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... yes
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking for IceOpenConnection in -lICE... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking if X11 header files implicitly declare return values... no
checking size of wchar_t is 2 bytes... no
checking --enable-gui argument... Qt GUI support
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking --with-qt-qmake argument... checking for qmake... configure: error: "Unable to find the given qmake qmake"
g++ -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_QT  -Iqt -I. -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.    -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -std=c++11 -o objects/gui_qt.o -c gui_qt.cpp

@Mte90
Copy link

Mte90 commented Dec 27, 2017

Changed parameter to --with-qt-qmake=/usr/bin/qmake and now is working :-)

@Mte90
Copy link

Mte90 commented Dec 27, 2017

/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimaction.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/vimaction.o:(.data.rel.ro._ZTV9VimAction[_ZTV9VimAction]+0x60): riferimento non definito a "QObject::connectNotify(char const*)"
objects/vimaction.o:(.data.rel.ro._ZTV9VimAction[_ZTV9VimAction]+0x68): riferimento non definito a "QObject::disconnectNotify(char const*)"
objects/fontdialog.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/fontdialog.o: nella funzione "FontDialog::fontSelected()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/fontdialog.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/fontdialog.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/fontdialog.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/fontdialog.o: nella funzione "operator+(QString const&, char const*)":
/usr/include/qt4/QtCore/qstring.h:1029: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/fontdialog.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/fontdialog.o: nella funzione "QStringList::join(QString const&) const":
/usr/include/qt4/QtCore/qstringlist.h:164: riferimento non definito a "QtPrivate::QStringList_join(QStringList const*, QString const&)"
objects/fontdialog.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/fontdialog.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/fontdialog.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/fontdialog.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/fontdialog.o: nella funzione "QString::operator=(char const*)":
/usr/include/qt4/QtCore/qstring.h:425: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/fontdialog.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/fontdialog.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/fontdialog.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/fontdialog.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/fontdialog.o:(.data.rel.ro._ZTV10FontDialog[_ZTV10FontDialog]+0x60): riferimento non definito a "QObject::connectNotify(char const*)"
objects/fontdialog.o:(.data.rel.ro._ZTV10FontDialog[_ZTV10FontDialog]+0x68): riferimento non definito a "QObject::disconnectNotify(char const*)"
objects/fontdialog.o:(.data.rel.ro._ZTV10FontDialog[_ZTV10FontDialog]+0x160): riferimento non definito a "QWidget::x11Event(_XEvent*)"
objects/fontdialog.o:(.data.rel.ro._ZTV10FontDialog[_ZTV10FontDialog]+0x190): riferimento non definito a "QWidget::styleChange(QStyle&)"
objects/fontdialog.o:(.data.rel.ro._ZTV10FontDialog[_ZTV10FontDialog]+0x198): riferimento non definito a "QWidget::enabledChange(bool)"
objects/fontdialog.o:(.data.rel.ro._ZTV10FontDialog[_ZTV10FontDialog]+0x1a0): riferimento non definito a "QWidget::paletteChange(QPalette const&)"
objects/fontdialog.o:(.data.rel.ro._ZTV10FontDialog[_ZTV10FontDialog]+0x1a8): riferimento non definito a "QWidget::fontChange(QFont const&)"
objects/fontdialog.o:(.data.rel.ro._ZTV10FontDialog[_ZTV10FontDialog]+0x1b0): riferimento non definito a "QWidget::windowActivationChange(bool)"
objects/fontdialog.o:(.data.rel.ro._ZTV10FontDialog[_ZTV10FontDialog]+0x1b8): riferimento non definito a "QWidget::languageChange()"
objects/mainwindow.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/mainwindow.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/mainwindow.o:(.data.rel.ro._ZTV10MainWindow[_ZTV10MainWindow]+0x60): riferimento non definito a "QObject::connectNotify(char const*)"
objects/mainwindow.o:(.data.rel.ro._ZTV10MainWindow[_ZTV10MainWindow]+0x68): riferimento non definito a "QObject::disconnectNotify(char const*)"
objects/mainwindow.o:(.data.rel.ro._ZTV10MainWindow[_ZTV10MainWindow]+0x160): riferimento non definito a "QWidget::x11Event(_XEvent*)"
objects/mainwindow.o:(.data.rel.ro._ZTV10MainWindow[_ZTV10MainWindow]+0x190): riferimento non definito a "QWidget::styleChange(QStyle&)"
objects/mainwindow.o:(.data.rel.ro._ZTV10MainWindow[_ZTV10MainWindow]+0x198): riferimento non definito a "QWidget::enabledChange(bool)"
objects/mainwindow.o:(.data.rel.ro._ZTV10MainWindow[_ZTV10MainWindow]+0x1a0): riferimento non definito a "QWidget::paletteChange(QPalette const&)"
objects/mainwindow.o:(.data.rel.ro._ZTV10MainWindow[_ZTV10MainWindow]+0x1a8): riferimento non definito a "QWidget::fontChange(QFont const&)"
objects/mainwindow.o:(.data.rel.ro._ZTV10MainWindow[_ZTV10MainWindow]+0x1b0): riferimento non definito a "QWidget::windowActivationChange(bool)"
objects/mainwindow.o:(.data.rel.ro._ZTV10MainWindow[_ZTV10MainWindow]+0x1b8): riferimento non definito a "QWidget::languageChange()"
objects/qvimshell.o: nella funzione "QVimShell::keyPressEvent(QKeyEvent*)":
/home/mte90/Desktop/kde/vim-qt/src/qt/qvimshell.cpp:152: riferimento non definito a "QApplication::keyboardModifiers()"
objects/qvimshell.o: nella funzione "QByteArray::detach()":
/usr/include/qt4/QtCore/qbytearray.h:436: riferimento non definito a "QByteArray::realloc(int)"
objects/qvimshell.o: nella funzione "QVimShell::keyPressEvent(QKeyEvent*)":
/home/mte90/Desktop/kde/vim-qt/src/qt/qvimshell.cpp:147: riferimento non definito a "QApplication::setOverrideCursor(QCursor const&)"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QString::detach()":
/usr/include/qt4/QtCore/qstring.h:715: riferimento non definito a "QString::realloc()"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QVimShell::keyPressEvent(QKeyEvent*)":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QVimShell::mouseReleaseEvent(QMouseEvent*)":
/home/mte90/Desktop/kde/vim-qt/src/qt/qvimshell.cpp:497: riferimento non definito a "QApplication::keyboardModifiers()"
objects/qvimshell.o: nella funzione "QVimShell::wheelEvent(QWheelEvent*)":
/home/mte90/Desktop/kde/vim-qt/src/qt/qvimshell.cpp:504: riferimento non definito a "QApplication::keyboardModifiers()"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QVimShell::color(QString const&)":
/home/mte90/Desktop/kde/vim-qt/src/qt/qvimshell.cpp:519: riferimento non definito a "QChar::QChar(char)"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "qStringComparisonHelper(QString const&, char const*)":
/usr/include/qt4/QtCore/qstring.h:919: riferimento non definito a "QString::codecForCStrings"
/usr/include/qt4/QtCore/qstring.h:919: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qstring.h:919: riferimento non definito a "QString::operator==(QString const&) const"
objects/qvimshell.o: nella funzione "QVimShell::color(QString const&)":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "qStringComparisonHelper(QString const&, char const*)":
/usr/include/qt4/QtCore/qstring.h:921: riferimento non definito a "QString::operator==(QLatin1String const&) const"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QVimShell::color(QString const&)":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QByteArray::detach()":
/usr/include/qt4/QtCore/qbytearray.h:436: riferimento non definito a "QByteArray::realloc(int)"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QVimShell::restoreCursor()":
/home/mte90/Desktop/kde/vim-qt/src/qt/qvimshell.cpp:669: riferimento non definito a "QApplication::overrideCursor()"
/home/mte90/Desktop/kde/vim-qt/src/qt/qvimshell.cpp:672: riferimento non definito a "QApplication::restoreOverrideCursor()"
objects/qvimshell.o: nella funzione "QVimShell::mousePressEvent(QMouseEvent*)":
/home/mte90/Desktop/kde/vim-qt/src/qt/qvimshell.cpp:489: riferimento non definito a "QApplication::keyboardModifiers()"
objects/qvimshell.o: nella funzione "QVimShell::mouseMoveEvent(QMouseEvent*)":
/home/mte90/Desktop/kde/vim-qt/src/qt/qvimshell.cpp:445: riferimento non definito a "QApplication::keyboardModifiers()"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/qvimshell.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/qvimshell.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/qvimshell.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/qvimshell.o: nella funzione "QDebug::operator<<(char const*)":
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/qvimshell.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/qvimshell.o: nella funzione "QDebug::operator<<(char const*)":
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/qvimshell.o: nella funzione "QByteArray::detach()":
/usr/include/qt4/QtCore/qbytearray.h:436: riferimento non definito a "QByteArray::realloc(int)"
objects/qvimshell.o: nella funzione "QDebug::~QDebug()":
/usr/include/qt4/QtCore/qdebug.h:85: riferimento non definito a "qt_message_output(QtMsgType, char const*)"
objects/qvimshell.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/qvimshell.o:(.data.rel.ro._ZTV9QVimShell[_ZTV9QVimShell]+0x60): riferimento non definito a "QObject::connectNotify(char const*)"
objects/qvimshell.o:(.data.rel.ro._ZTV9QVimShell[_ZTV9QVimShell]+0x68): riferimento non definito a "QObject::disconnectNotify(char const*)"
objects/qvimshell.o:(.data.rel.ro._ZTV9QVimShell[_ZTV9QVimShell]+0x160): riferimento non definito a "QWidget::x11Event(_XEvent*)"
objects/qvimshell.o:(.data.rel.ro._ZTV9QVimShell[_ZTV9QVimShell]+0x190): riferimento non definito a "QWidget::styleChange(QStyle&)"
objects/qvimshell.o:(.data.rel.ro._ZTV9QVimShell[_ZTV9QVimShell]+0x198): riferimento non definito a "QWidget::enabledChange(bool)"
objects/qvimshell.o:(.data.rel.ro._ZTV9QVimShell[_ZTV9QVimShell]+0x1a0): riferimento non definito a "QWidget::paletteChange(QPalette const&)"
objects/qvimshell.o:(.data.rel.ro._ZTV9QVimShell[_ZTV9QVimShell]+0x1a8): riferimento non definito a "QWidget::fontChange(QFont const&)"
objects/qvimshell.o:(.data.rel.ro._ZTV9QVimShell[_ZTV9QVimShell]+0x1b0): riferimento non definito a "QWidget::windowActivationChange(bool)"
objects/qvimshell.o:(.data.rel.ro._ZTV9QVimShell[_ZTV9QVimShell]+0x1b8): riferimento non definito a "QWidget::languageChange()"
objects/colortable.o: nella funzione "ColorTable::get(QString const&, QColor const&)":
/home/mte90/Desktop/kde/vim-qt/src/qt/colortable.cpp:688: riferimento non definito a "QChar::QChar(char)"
objects/colortable.o: nella funzione "qStringComparisonHelper(QString const&, char const*)":
/usr/include/qt4/QtCore/qstring.h:919: riferimento non definito a "QString::codecForCStrings"
/usr/include/qt4/QtCore/qstring.h:919: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qstring.h:919: riferimento non definito a "QString::operator==(QString const&) const"
/usr/include/qt4/QtCore/qstring.h:921: riferimento non definito a "QString::operator==(QLatin1String const&) const"
objects/colortable.o: nella funzione "QHash<QString, QColor>::findNode(QString const&, unsigned int*) const":
/usr/include/qt4/QtCore/qhash.h:882: riferimento non definito a "qHash(QString const&)"
objects/colortable.o: nella funzione "QHash<QString, QColor>::detach_helper()":
/usr/include/qt4/QtCore/qhash.h:582: riferimento non definito a "QHashData::detach_helper2(void (*)(QHashData::Node*, void*), void (*)(QHashData::Node*), int, int)"
objects/colortable.o: nella funzione "QHashNode<QString, QColor>::same_key(unsigned int, QString const&)":
/usr/include/qt4/QtCore/qhash.h:225: riferimento non definito a "QString::operator==(QString const&) const"
objects/scrollarea.o:(.data.rel.ro._ZTV10ScrollArea[_ZTV10ScrollArea]+0x60): riferimento non definito a "QObject::connectNotify(char const*)"
objects/scrollarea.o:(.data.rel.ro._ZTV10ScrollArea[_ZTV10ScrollArea]+0x68): riferimento non definito a "QObject::disconnectNotify(char const*)"
objects/scrollarea.o:(.data.rel.ro._ZTV10ScrollArea[_ZTV10ScrollArea]+0x160): riferimento non definito a "QWidget::x11Event(_XEvent*)"
objects/scrollarea.o:(.data.rel.ro._ZTV10ScrollArea[_ZTV10ScrollArea]+0x190): riferimento non definito a "QWidget::styleChange(QStyle&)"
objects/scrollarea.o:(.data.rel.ro._ZTV10ScrollArea[_ZTV10ScrollArea]+0x198): riferimento non definito a "QWidget::enabledChange(bool)"
objects/scrollarea.o:(.data.rel.ro._ZTV10ScrollArea[_ZTV10ScrollArea]+0x1a0): riferimento non definito a "QWidget::paletteChange(QPalette const&)"
objects/scrollarea.o:(.data.rel.ro._ZTV10ScrollArea[_ZTV10ScrollArea]+0x1a8): riferimento non definito a "QWidget::fontChange(QFont const&)"
objects/scrollarea.o:(.data.rel.ro._ZTV10ScrollArea[_ZTV10ScrollArea]+0x1b0): riferimento non definito a "QWidget::windowActivationChange(bool)"
objects/scrollarea.o:(.data.rel.ro._ZTV10ScrollArea[_ZTV10ScrollArea]+0x1b8): riferimento non definito a "QWidget::languageChange()"
objects/vimwrapper.o: nella funzione "QByteArray::detach()":
/usr/include/qt4/QtCore/qbytearray.h:436: riferimento non definito a "QByteArray::realloc(int)"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "operator+(char const*, QString const&)":
/usr/include/qt4/QtCore/qstring.h:1031: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/vimwrapper.o: nella funzione "operator+(QString const&, char const*)":
/usr/include/qt4/QtCore/qstring.h:1029: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "VimWrapper::icon(QString const&)":
/home/mte90/Desktop/kde/vim-qt/src/qt/vimwrapper.cpp:306: riferimento non definito a "QStyle::standardIcon(QStyle::StandardPixmap, QStyleOption const*, QWidget const*) const"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "VimWrapper::convertFrom(char const*, int)":
/home/mte90/Desktop/kde/vim-qt/src/qt/vimwrapper.cpp:354: riferimento non definito a "QString::fromUtf8(char const*, int)"
/home/mte90/Desktop/kde/vim-qt/src/qt/vimwrapper.cpp:354: riferimento non definito a "QString::fromUtf8(char const*, int)"
/home/mte90/Desktop/kde/vim-qt/src/qt/vimwrapper.cpp:354: riferimento non definito a "QString::fromUtf8(char const*, int)"
objects/vimwrapper.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QByteArray::shared_null"
objects/vimwrapper.o: nella funzione "qStringComparisonHelper(QString const&, char const*)":
/usr/include/qt4/QtCore/qstring.h:919: riferimento non definito a "QString::codecForCStrings"
/usr/include/qt4/QtCore/qstring.h:919: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qstring.h:919: riferimento non definito a "QString::operator==(QString const&) const"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "std::enable_if<std::__and_<std::__not_<std::__is_tuple_like<QByteArray::Data*> >, std::is_move_constructible<QByteArray::Data*>, std::is_move_assignable<QByteArray::Data*> >::value, void>::type std::swap<QByteArray::Data*>(QByteArray::Data*&, QByteArray::Data*&)":
/usr/include/c++/7/bits/move.h:200: riferimento non definito a "QByteArray::shared_null"
objects/vimwrapper.o: nella funzione "QBasicAtomicInt::deref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:133: riferimento non definito a "QByteArray::shared_null"
objects/vimwrapper.o: nella funzione "VimWrapper::guiHandleDrop(QPoint const&, unsigned int, QList<QUrl>)":
/home/mte90/Desktop/kde/vim-qt/src/qt/vimwrapper.cpp:130: riferimento non definito a "QUrl::toString(QFlags<QUrl::FormattingOption>) const"
objects/vimwrapper.o: nella funzione "std::enable_if<std::__and_<std::__not_<std::__is_tuple_like<QByteArray::Data*> >, std::is_move_constructible<QByteArray::Data*>, std::is_move_assignable<QByteArray::Data*> >::value, void>::type std::swap<QByteArray::Data*>(QByteArray::Data*&, QByteArray::Data*&)":
/usr/include/c++/7/bits/move.h:200: riferimento non definito a "QByteArray::shared_null"
objects/vimwrapper.o: nella funzione "QBasicAtomicInt::deref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:133: riferimento non definito a "QByteArray::shared_null"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "qStringComparisonHelper(QString const&, char const*)":
/usr/include/qt4/QtCore/qstring.h:921: riferimento non definito a "QString::operator==(QLatin1String const&) const"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "QByteArray::QByteArray()":
/usr/include/qt4/QtCore/qbytearray.h:400: riferimento non definito a "QByteArray::shared_null"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/vimwrapper.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/vimwrapper.o: nella funzione "QDebug::operator<<(char const*)":
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/vimwrapper.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/vimwrapper.o: nella funzione "QDebug::operator<<(char const*)":
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/vimwrapper.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/vimwrapper.o: nella funzione "QDebug::operator<<(char const*)":
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/vimwrapper.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/vimwrapper.o: nella funzione "QDebug::operator<<(char const*)":
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/vimwrapper.o: nella funzione "QString::QString()":
/usr/include/qt4/QtCore/qstring.h:879: riferimento non definito a "QString::shared_null"
objects/vimwrapper.o: nella funzione "QBasicAtomicInt::ref()":
/usr/include/qt4/QtCore/qatomic_x86_64.h:121: riferimento non definito a "QString::shared_null"
objects/vimwrapper.o: nella funzione "QDebug::operator<<(char const*)":
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
/usr/include/qt4/QtCore/qdebug.h:111: riferimento non definito a "QString::fromAscii(char const*, int)"
objects/vimwrapper.o: nella funzione "QString::~QString()":
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
/usr/include/qt4/QtCore/qstring.h:880: riferimento non definito a "QString::free(QString::Data*)"
objects/vimwrapper.o:/usr/include/qt4/QtCore/qstring.h:880: seguono ulteriori riferimenti non definiti a "QString::free(QString::Data*)"
objects/tabbar.o:(.data.rel.ro._ZTV6TabBar[_ZTV6TabBar]+0x60): riferimento non definito a "QObject::connectNotify(char const*)"
objects/tabbar.o:(.data.rel.ro._ZTV6TabBar[_ZTV6TabBar]+0x68): riferimento non definito a "QObject::disconnectNotify(char const*)"
objects/tabbar.o:(.data.rel.ro._ZTV6TabBar[_ZTV6TabBar]+0x160): riferimento non definito a "QWidget::x11Event(_XEvent*)"
objects/tabbar.o:(.data.rel.ro._ZTV6TabBar[_ZTV6TabBar]+0x190): riferimento non definito a "QWidget::styleChange(QStyle&)"
objects/tabbar.o:(.data.rel.ro._ZTV6TabBar[_ZTV6TabBar]+0x198): riferimento non definito a "QWidget::enabledChange(bool)"
objects/tabbar.o:(.data.rel.ro._ZTV6TabBar[_ZTV6TabBar]+0x1a0): riferimento non definito a "QWidget::paletteChange(QPalette const&)"
objects/tabbar.o:(.data.rel.ro._ZTV6TabBar[_ZTV6TabBar]+0x1a8): riferimento non definito a "QWidget::fontChange(QFont const&)"
objects/tabbar.o:(.data.rel.ro._ZTV6TabBar[_ZTV6TabBar]+0x1b0): riferimento non definito a "QWidget::windowActivationChange(bool)"
objects/tabbar.o:(.data.rel.ro._ZTV6TabBar[_ZTV6TabBar]+0x1b8): riferimento non definito a "QWidget::languageChange()"
objects/vimscrollbar.o:(.data.rel.ro._ZTV12VimScrollBar[_ZTV12VimScrollBar]+0x60): riferimento non definito a "QObject::connectNotify(char const*)"
objects/vimscrollbar.o:(.data.rel.ro._ZTV12VimScrollBar[_ZTV12VimScrollBar]+0x68): riferimento non definito a "QObject::disconnectNotify(char const*)"
objects/vimscrollbar.o:(.data.rel.ro._ZTV12VimScrollBar[_ZTV12VimScrollBar]+0x160): riferimento non definito a "QWidget::x11Event(_XEvent*)"
objects/vimscrollbar.o:(.data.rel.ro._ZTV12VimScrollBar[_ZTV12VimScrollBar]+0x190): riferimento non definito a "QWidget::styleChange(QStyle&)"
objects/vimscrollbar.o:(.data.rel.ro._ZTV12VimScrollBar[_ZTV12VimScrollBar]+0x198): riferimento non definito a "QWidget::enabledChange(bool)"
objects/vimscrollbar.o:(.data.rel.ro._ZTV12VimScrollBar[_ZTV12VimScrollBar]+0x1a0): riferimento non definito a "QWidget::paletteChange(QPalette const&)"
objects/vimscrollbar.o:(.data.rel.ro._ZTV12VimScrollBar[_ZTV12VimScrollBar]+0x1a8): riferimento non definito a "QWidget::fontChange(QFont const&)"
objects/vimscrollbar.o:(.data.rel.ro._ZTV12VimScrollBar[_ZTV12VimScrollBar]+0x1b0): riferimento non definito a "QWidget::windowActivationChange(bool)"
objects/vimscrollbar.o:(.data.rel.ro._ZTV12VimScrollBar[_ZTV12VimScrollBar]+0x1b8): riferimento non definito a "QWidget::languageChange()"
collect2: error: ld returned 1 exit status
link.sh: Linking failed
Makefile:1965: set di istruzioni per l'obiettivo "vim" non riuscito
make: *** [vim] Errore 1

Errors on compiling

@Mte90
Copy link

Mte90 commented Dec 30, 2017

A make clean and a new compile fixed everything :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants