[mythtv-commits] Ticket #5985: Use QProcess in MythArchive to monitor process (main.cpp)?
MythTV
mythtv at cvs.mythtv.org
Sun Dec 7 08:43:30 UTC 2008
#5985: Use QProcess in MythArchive to monitor process (main.cpp)?
----------------------------------------------------+-----------------------
Reporter: Jonathan Martens <jonathan at snetram.nl> | Owner: paulh
Type: enhancement | Status: new
Priority: minor | Milestone: unknown
Component: mytharchive | Version: unknown
Severity: medium | Mlocked: 0
----------------------------------------------------+-----------------------
Would it be possible to use the QProcess class in MythArchive to monitor
and manage processes?
This would make it possible I think to get one step further with compiling
MythArchive on windows as it now errors out like this:
bash.exe"-3.1$ make
cd mytharchive/ && u:/MSys/1.0/qt-win-opensource-src-4.4.3/bin/qmake.exe
mytharc
hive.pro -win32 QMAKE=U:/MSys/1.0/qt-win-opensource-src-4.4.3/bin/qmake -o
Makef
ile
cd mytharchive/ && make -f Makefile
make[1]: Entering directory `/u/mythtv/mythplugins/mytharchive'
cd mytharchive/ && u:/MSys/1.0/qt-win-opensource-src-4.4.3/bin/qmake.exe
mytharc
hive.pro -win32 QMAKE=U:/MSys/1.0/qt-win-opensource-src-4.4.3/bin/qmake -o
Makef
ile
cd mytharchive/ && make -f Makefile
make[2]: Entering directory
`/u/mythtv/mythplugins/mytharchive/mytharchive'
g++ -c -march=k8 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls
-Wno-non
-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -g -frtti
-fexceptions -
mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DUSING_MINGW
-D_GNU_SOURCE -DPR
EFIX="U:/mythtv/build/" -DMMX -Di386 -DUSING_DIRECTX
-D_FILE_OFFSET_BITS=64 -DQT
_THREAD_SUPPORT -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB
-DQT_OPENGL_LIB -
DQT_GUI_LIB -DQT_CORE_LIB -I'../../../../MSys/1.0/qt-win-opensource-
src-4.4.3/in
clude/QtCore' -I'../../../../MSys/1.0/qt-win-opensource-
src-4.4.3/include/QtCore
' -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtGui'
-I'../../..
/../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtGui'
-I'../../../../MSys/1.0/
qt-win-opensource-src-4.4.3/include/QtOpenGL' -I'../../../../MSys/1.0/qt-
win-ope
nsource-src-4.4.3/include/QtOpenGL' -I'../../../../MSys/1.0/qt-win-
opensource-sr
c-4.4.3/include/QtXml' -I'../../../../MSys/1.0/qt-win-opensource-
src-4.4.3/inclu
de/QtXml' -I'../../../../MSys/1.0/qt-win-opensource-
src-4.4.3/include/QtSql' -I'
../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtSql'
-I'../../../../M
Sys/1.0/qt-win-opensource-src-4.4.3/include' -I'../../../build/include'
-I'../..
/../build/include' -I'../../../build/include/mythtv'
-I'../../../build/include/m
ythtv' -I'../../../build/include/mythtv/libmythtv' -I'u:/MSys/1.0/qt-win-
opensou
rce-src-4.4.3/include/ActiveQt' -I'.' -I'.' -I'../../../../MSys/1.0/qt-
win-opens
ource-src-4.4.3/mkspecs/win32-g++' -o main.o main.cpp
main.cpp: In function `bool checkProcess(const QString&)':
main.cpp:68: error: `kill' was not declared in this scope
main.cpp:68: warning: unused variable 'kill'
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/u/mythtv/mythplugins/mytharchive/mytharchive'
make[1]: *** [sub-mytharchive-make_default] Error 2
make[1]: Leaving directory `/u/mythtv/mythplugins/mytharchive'
make: *** [sub-mytharchive-make_default] Error 2
bash.exe"-3.1$
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5985>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list