Russian Qt Forum
Сентябрь 30, 2024, 20:22 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
 
  Начало   Форум  WIKI (Вики)FAQ Помощь Поиск Войти Регистрация  

Страниц: [1]   Вниз
  Печать  
Автор Тема: moc: Too many input files specified  (Прочитано 2407 раз)
PKEv
Гость
« : Март 07, 2015, 23:58 »

Гуру подскажите пожалуйста, пытаюсь собрать приложение из исходников, компиляция валиться на попытке вызова следующей команды:
Код:
C:/Qt/Qt5.2.0/5.2.0/mingw48_32/bin/moc.exe -DUNICODE -DGIT_VERSION="\"built without git\"" -DTIMESTAMP=0 -DLOG_TO_FILE -DQTOX_PLATFORM_EXT -DQTOX_FILTER_AUDIO -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -D__GNUC__ -DWIN32 -I../qTox -I'../qTox/libs/include' -I'../qTox/libs/opencv-2.4.9/modules/core/include' -I'../qTox/libs/opencv-2.4.9/modules/highgui/include' -I'../qTox/libs/filter_audio' -I'../qTox/libs/openal-soft-1.16.0/include' -I'../Qt/Qt5.2.0/5.2.0/mingw48_32/include' -I'../Qt/Qt5.2.0/5.2.0/mingw48_32/include/QtSvg' -I'../Qt/Qt5.2.0/5.2.0/mingw48_32/include/QtOpenGL' -I'../Qt/Qt5.2.0/5.2.0/mingw48_32/include/QtWidgets' -I'../Qt/Qt5.2.0/5.2.0/mingw48_32/include/QtSql' -I'../Qt/Qt5.2.0/5.2.0/mingw48_32/include/QtXml' -I'../Qt/Qt5.2.0/5.2.0/mingw48_32/include/QtNetwork' -I'../Qt/Qt5.2.0/5.2.0/mingw48_32/include/QtGui' -I'../Qt/Qt5.2.0/5.2.0/mingw48_32/include/QtCore' -I'debug' -I'.' -I'.' -I'../Qt/Qt5.2.0/5.2.0/mingw48_32/mkspecs/win32-g++' ../qTox/src/widget/netcamview.h -o debug/moc_netcamview.cpp
Usage: c:\Qt\Qt5.2.0\5.2.0\mingw48_32\bin\moc.exe [options] [header-file] [@option-file]
Qt Meta Object Compiler version 67 (Qt 5.2.0)

Options:
  -?, -h, --help           Displays this help.
  -v, --version            Displays version information.
  -o <file>                Write output to file rather than stdout.
  -I <dir>                 Add dir to the include path for header files.
  -F <framework>           Add Mac framework to the include path for header fil
                           es.
  -E                       Preprocess only; do not generate meta object code.
  -D <macro[=def]>         Define macro, with optional definition.
  -U <macro>               Undefine macro.
  -M <key=value>           Add key/value pair to plugin meta data
  -i                       Do not generate an #include statement.
  -p <path>                Path prefix for included file.
  -f <file>                Force #include [optional <file>] (overwrite default)
                           .
moc: Too many input files specified
  -b <file>                Prepend #include <file> (preserve default include).
  -n <which>               Do not display notes (-nn) or warnings (-nw). Compat
                           ibility option.
  --no-notes               Do not display notes.
  --no-warnings            Do not display warnings (implies --no-notes).
  --ignore-option-clashes  Ignore all options that conflict with compilers, lik
                           e -pthread conflicting with moc's -p option.

Arguments:
  [header-file]            Header file to read from, otherwise stdin.
  [@option-file]           Read additional options from option-file.
Makefile.Debug:5158: recipe for target 'debug/moc_netcamview.cpp' failed
mingw32-make[1]: *** [debug/moc_netcamview.cpp] Error 1
mingw32-make[1]: Leaving directory 'C:/build-qtox-Desktop_Qt_5_2_0_MinGW_32bit-Отладка'
makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
23:50:08: Процесс «C:\Qt\Qt5.2.0\Tools\mingw48_32\bin\mingw32-make.exe» завершился с кодом 2.
Ошибка при сборке/установке проекта qtox (комплект: Desktop Qt 5.2.0 MinGW 32bit)

интересно то что собственно moc при передаче ему такой
строки нормально работает, а вот при вызове через QtCreator вываливается с ошибкой.
 
P.S.: Погуглив уже перепробовал вариант с назначение админских прав для moc.

Есть какие то идеи?
Записан
Страниц: [1]   Вверх
  Печать  
 
Перейти в:  


Страница сгенерирована за 0.124 секунд. Запросов: 20.