Ticket #1086: jalv-1.4.7svn5726-qt5-4.patch

File jalv-1.4.7svn5726-qt5-4.patch, 1003 bytes (added by Rui Nuno Capela, 6 years ago)
  • src/jalv_qt.cpp

     
    711711    lilv_node_free(name);
    712712
    713713    win->setCentralWidget(widget);
     714
    714715    app->connect(app, SIGNAL(lastWindowClosed()), app, SLOT(quit()));
    715716
    716717    win->show();
  • wscript

     
    6767        if not Options.options.no_qt5:
    6868            autowaf.check_pkg(conf, 'Qt5Widgets', uselib_store='QT5',
    6969                              atleast_version='5.1.0', mandatory=False)
    70             conf.find_program('moc', var='MOC5')
     70            if conf.env.HAVE_QT5:
     71                if not conf.find_program('moc-qt5', var='MOC5', mandatory=False):
     72                    conf.find_program('moc', var='MOC5')
    7173
    7274    conf.check(function_name='jack_port_type_get_buffer_size',
    7375               header_name='jack/jack.h',