From: gBopHuk_alt <gbophuk_alt@mail.ru> To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org> Subject: Re: [newbies] Cmake не может найти QtCore Date: Fri, 13 Jan 2012 18:27:20 +0400 Message-ID: <1326464840.27513.10.camel@localhost.localdomain> (raw) In-Reply-To: <1324912667.28359.6.camel@localhost.localdomain> Запустил cmake c парметром -v Определил что проблемы возникают с файлами начинающимися на moc_ : /usr/src/RPM/BUILD/libvlc-qt-0.5.1/BUILD/src/core/moc_Audio.cxx:50: warning: documented function `const QMetaObject * VlcAudio::metaObject' was not declared or defined. /usr/src/RPM/BUILD/libvlc-qt-0.5.1/BUILD/src/core/moc_Audio.cxx:55: warning: documented function `void * VlcAudio::qt_metacast' was not declared or defined. /usr/src/RPM/BUILD/libvlc-qt-0.5.1/BUILD/src/core/moc_Audio.cxx:63: warning: documented function `int VlcAudio::qt_metacall' was not declared or defined. Посмотрел Buildlog от разработчиков, там при генерации moc файлов используется /usr/bin/moc-qt4 [ 3%] Generating gui/moc_VideoWidget.cxx cd /build/buildd/libvlc-qt-0.5.1/builddir/src && /usr/bin/moc-qt4 -I/build/buildd/libvlc-qt-0.5.1/builddir/src -I/build/buildd/libvlc-qt-0.5.1/src -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -DQT_GUI_LIB -DQT_CORE_LIB -o /build/buildd/libvlc-qt-0.5.1/builddir/src/gui/moc_VideoWidget.cxx /build/buildd/libvlc-qt-0.5.1/src/gui/VideoWidget.h /usr/bin/cmake -E cmake_progress_report /build/buildd/libvlc-qt-0.5.1/builddir/CMakeFiles 23 А у меня /usr/lib/qt4/bin/moc [ 27%] Generating gui/moc_VideoWidget.cxx cd /usr/src/RPM/BUILD/libvlc-qt-0.5.1/BUILD/src && /usr/lib/qt4/bin/moc -I/usr/src/RPM/BUILD/libvlc-qt-0.5.1/BUILD/src -I/usr/src/RPM/BUILD/libvlc-qt-0.5.1/src -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -DQT_GUI_LIB -DQT_CORE_LIB -o /usr/src/RPM/BUILD/libvlc-qt-0.5.1/BUILD/src/gui/moc_VideoWidget.cxx /usr/src/RPM/BUILD/libvlc-qt-0.5.1/src/gui/VideoWidget.h /usr/bin/cmake -E cmake_progress_report /usr/src/RPM/BUILD/libvlc-qt-0.5.1/BUILD/CMakeFiles 35 Может они как-то по разному обрабатывают файл? Buildlog у разрабов был только под ubuntu При сборке tano-player ругается на файлы libvlc-qt: /usr/src/RPM/BUILD/tano-player-0.8.1/src/ui/MainWindow.cpp:484:30: error: no matching function for call to 'VlcMediaPlayer::open(const QString&)' /usr/include/vlc-qt/MediaPlayer.h:103:10: note: candidate is: void VlcMediaPlayer::open(VlcMedia*)
prev parent reply other threads:[~2012-01-13 14:27 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-12-26 15:17 gBopHuk_alt 2011-12-26 15:33 ` Евгений Ростовцев 2011-12-26 21:14 ` gBopHuk_alt 2011-12-27 2:33 ` Евгений Ростовцев 2011-12-27 10:02 ` gBopHuk_alt 2011-12-27 10:04 ` Евгений Ростовцев 2011-12-27 21:56 ` gBopHuk_alt 2011-12-28 2:34 ` Евгений Ростовцев 2011-12-28 7:47 ` gBopHuk_alt 2011-12-28 8:38 ` gBopHuk_alt 2011-12-28 8:48 ` Евгений Ростовцев 2011-12-28 9:13 ` gBopHuk_alt 2011-12-28 9:16 ` Евгений Ростовцев 2011-12-28 9:40 ` gBopHuk_alt 2011-12-28 9:44 ` Евгений Ростовцев 2011-12-26 16:16 ` Michael Shigorin 2012-01-13 14:27 ` gBopHuk_alt [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1326464840.27513.10.camel@localhost.localdomain \ --to=gbophuk_alt@mail.ru \ --cc=devel-newbies@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
devel@ where you _can_ ask This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \ devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com public-inbox-index devel-newbies Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies AGPL code for this site: git clone https://public-inbox.org/public-inbox.git