把linux运行的Qt程序移植到windows下出现的错误

把linux运行的Qt程序移植到windows下出现的错误:

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:67: error: '::mbstate_t' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:143: error: '::btowc' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:144: error: '::fgetwc' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:145: error: '::fgetws' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:146: error: '::fputwc' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:147: error: '::fputws' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:148: error: '::fwide' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:149: error: '::fwprintf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:150: error: '::fwscanf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:151: error: '::getwc' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:152: error: '::getwchar' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:153: error: '::mbrlen' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:154: error: '::mbrtowc' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:155: error: '::mbsinit' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:156: error: '::mbsrtowcs' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:157: error: '::putwc' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:158: error: '::putwchar' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:159: error: '::swprintf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:160: error: '::swscanf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:161: error: '::ungetwc' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:162: error: '::vfwprintf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:164: error: '::vfwscanf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:166: error: '::vswprintf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:168: error: '::vswscanf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:170: error: '::vwprintf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:172: error: '::vwscanf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:174: error: '::wcrtomb' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:175: error: '::wcscat' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:177: error: '::wcscoll' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:178: error: '::wcscpy' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:179: error: '::wcscspn' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:180: error: '::wcsftime' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:182: error: '::wcsncat' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:183: error: '::wcsncmp' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:184: error: '::wcsncpy' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:185: error: '::wcsrtombs' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:186: error: '::wcsspn' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:187: error: '::wcstod' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:189: error: '::wcstof' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:191: error: '::wcstok' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:192: error: '::wcstol' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:193: error: '::wcstoul' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:194: error: '::wcsxfrm' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:195: error: '::wctob' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:196: error: '::wmemcmp' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:197: error: '::wmemcpy' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:198: error: '::wmemmove' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:199: error: '::wmemset' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:200: error: '::wprintf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:201: error: '::wscanf' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:202: error: '::wcschr' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:203: error: '::wcspbrk' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:204: error: '::wcsrchr' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:205: error: '::wcsstr' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:206: error: '::wmemchr' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar: In function 'wchar_t* std::wcschr(wchar_t*, wchar_t)':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:211: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:211: error: initializing argument 1 of 'wchar_t* std::wcschr(wchar_t*, wchar_t)'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar: In function 'wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:215: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:215: error: initializing argument 1 of 'wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar: In function 'wchar_t* std::wcsrchr(wchar_t*, wchar_t)':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:219: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:219: error: initializing argument 1 of 'wchar_t* std::wcsrchr(wchar_t*, wchar_t)'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar: In function 'wchar_t* std::wcsstr(wchar_t*, const wchar_t*)':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:223: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:223: error: initializing argument 1 of 'wchar_t* std::wcsstr(wchar_t*, const wchar_t*)'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar: In function 'wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:227: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:227: error: initializing argument 1 of 'wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar: At global scope:

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:245: error: '::wcstold' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:254: error: '::wcstoll' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:255: error: '::wcstoull' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:262: error: '__gnu_cxx::wcstold' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:263: error: '__gnu_cxx::wcstoll' has not been declared

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:264: error: '__gnu_cxx::wcstoull' has not been declared

In file included from e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:42,

from e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/string:42,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtCore/qstring.h:60,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtCore/qobject.h:48,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtCore/qcoreapplication.h:45,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtGui/qapplication.h:45,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtGui/QApplication:1,

from ..\ffplayTest\main.cpp:1:

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:228: error: 'mbstate_t' was not declared in this scope

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:228: error: template argument 1 is invalid

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:228: error: invalid type in declaration before ';' token

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:230: error: 'mbstate_t' was not declared in this scope

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:230: error: template argument 1 is invalid

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:230: error: invalid type in declaration before ';' token

In file included from e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/string:42,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtCore/qstring.h:60,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtCore/qobject.h:48,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtCore/qcoreapplication.h:45,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtGui/qapplication.h:45,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtGui/QApplication:1,

from ..\ffplayTest\main.cpp:1:

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:70: error: 'mbstate_t' in namespace 'std' does not name a type

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:243: error: 'mbstate_t' does not name a type

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:314: error: 'mbstate_t' does not name a type

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h: In static member function 'static int std::char_traits::compare(const wchar_t*, const wchar_t*, size_t)':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:330: error: 'wmemcmp' was not declared in this scope

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h: In static member function 'static const wchar_t* std::char_traits::find(const wchar_t*, size_t, const wchar_t&)':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:338: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:338: error: initializing argument 1 of 'wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h: In static member function 'static wchar_t* std::char_traits::move(wchar_t*, const wchar_t*, size_t)':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:342: error: 'wmemmove' was not declared in this scope

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h: In static member function 'static wchar_t* std::char_traits::copy(wchar_t*, const wchar_t*, size_t)':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:346: error: 'wmemcpy' was not declared in this scope

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h: In static member function 'static wchar_t* std::char_traits::assign(wchar_t*, size_t, wchar_t)':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:350: error: 'wmemset' was not declared in this scope

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h: In static member function 'static wint_t std::char_traits::eof()':

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/char_traits.h:366: error: 'WEOF' was not declared in this scope

In file included from e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/string:45,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtCore/qstring.h:60,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtCore/qobject.h:48,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtCore/qcoreapplication.h:45,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtGui/qapplication.h:45,

from ..\..\QtSDK\Desktop\Qt\4.7.4\mingw\include/QtGui/QApplication:1,

from ..\ffplayTest\main.cpp:1:

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/localefwd.h: At global scope:

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/localefwd.h:127: error: 'mbstate_t' was not declared in this scope

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/localefwd.h:127: error: template argument 3 is invalid

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/localefwd.h:129: error: 'mbstate_t' was not declared in this scope

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/localefwd.h:129: error: template argument 3 is invalid

In file included from c:\msys\1.0\include/time.h:32,

from c:\msys\1.0\local\include/libavutil/parseutils.h:22,

from ..\ffplayTest\/ffplayTest.h:29,

from ..\ffplayTest\/controlproxy.h:13,

from ..\ffplayTest\/mainwindow.h:19,

from ..\ffplayTest\main.cpp:3:

c:\msys\1.0\include/sys/types.h:106: error: conflicting declaration 'typedef char int8_t'

e:\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/stdint.h:27: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'

mingw32-make.exe[1]: Leaving directory `E:/IWall/ffplayTest_debug'

..\ffplayTest\/ffplayTest.h:90: warning: 'sws_flags' defined but not used

..\ffplayTest\/ffplayTest.h:248: warning: 'show_mode' defined but not used

..\ffplayTest\/ffplayTest.h:319: warning: 'int opt_help(const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:261: warning: 'file_iformat' defined but not used

..\ffplayTest\/ffplayTest.h:262: warning: 'input_filename' defined but not used

..\ffplayTest\/ffplayTest.h:263: warning: 'window_title' defined but not used

..\ffplayTest\/ffplayTest.h:264: warning: 'fs_screen_width' defined but not used

..\ffplayTest\/ffplayTest.h:265: warning: 'fs_screen_height' defined but not used

..\ffplayTest\/ffplayTest.h:266: warning: 'screen_width' defined but not used

..\ffplayTest\/ffplayTest.h:267: warning: 'screen_height' defined but not used

..\ffplayTest\/ffplayTest.h:268: warning: 'audio_disable' defined but not used

..\ffplayTest\/ffplayTest.h:269: warning: 'video_disable' defined but not used

..\ffplayTest\/ffplayTest.h:270: warning: 'wanted_stream' defined but not used

..\ffplayTest\/ffplayTest.h:273: warning: 'seek_by_bytes' defined but not used

..\ffplayTest\/ffplayTest.h:274: warning: 'display_disable' defined but not used

..\ffplayTest\/ffplayTest.h:275: warning: 'show_status' defined but not used

..\ffplayTest\/ffplayTest.h:276: warning: 'av_sync_type' defined but not used

..\ffplayTest\/ffplayTest.h:277: warning: 'start_time' defined but not used

..\ffplayTest\/ffplayTest.h:278: warning: 'duration' defined but not used

..\ffplayTest\/ffplayTest.h:279: warning: 'workaround_bugs' defined but not used

..\ffplayTest\/ffplayTest.h:280: warning: 'fast' defined but not used

..\ffplayTest\/ffplayTest.h:281: warning: 'genpts' defined but not used

..\ffplayTest\/ffplayTest.h:282: warning: 'lowres' defined but not used

..\ffplayTest\/ffplayTest.h:283: warning: 'idct' defined but not used

..\ffplayTest\/ffplayTest.h:284: warning: 'skip_frame' defined but not used

..\ffplayTest\/ffplayTest.h:285: warning: 'skip_idct' defined but not used

..\ffplayTest\/ffplayTest.h:286: warning: 'skip_loop_filter' defined but not used

..\ffplayTest\/ffplayTest.h:287: warning: 'error_concealment' defined but not used

..\ffplayTest\/ffplayTest.h:288: warning: 'decoder_reorder_pts' defined but not used

..\ffplayTest\/ffplayTest.h:289: warning: 'autoexit' defined but not used

..\ffplayTest\/ffplayTest.h:290: warning: 'exit_on_keydown' defined but not used

..\ffplayTest\/ffplayTest.h:291: warning: 'exit_on_mousedown' defined but not used

..\ffplayTest\/ffplayTest.h:292: warning: 'loop' defined but not used

..\ffplayTest\/ffplayTest.h:293: warning: 'framedrop' defined but not used

..\ffplayTest\/ffplayTest.h:294: warning: 'infinite_buffer' defined but not used

..\ffplayTest\/ffplayTest.h:296: warning: 'audio_codec_name' defined but not used

..\ffplayTest\/ffplayTest.h:297: warning: 'subtitle_codec_name' defined but not used

..\ffplayTest\/ffplayTest.h:298: warning: 'video_codec_name' defined but not used

..\ffplayTest\/ffplayTest.h:299: warning: 'rdftspeed' defined but not used

..\ffplayTest\/ffplayTest.h:301: warning: 'vfilters' defined but not used

..\ffplayTest\/ffplayTest.h:304: warning: 'volume' defined but not used

..\ffplayTest\/ffplayTest.h:308: warning: 'is_full_screen' defined but not used

..\ffplayTest\/ffplayTest.h:309: warning: 'audio_callback_time' defined but not used

..\ffplayTest\/ffplayTest.h:311: warning: 'flush_pkt' defined but not used

..\ffplayTest\/ffplayTest.h:317: warning: 'screen' defined but not used

..\ffplayTest\/ffplayTest.h:320: warning: 'int opt_width(const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:321: warning: 'int opt_height(const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:322: warning: 'int opt_frame_size(const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:323: warning: 'int opt_seek(const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:324: warning: 'int opt_format(const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:325: warning: 'int opt_frame_pix_fmt(const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:326: warning: 'int opt_sync(const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:327: warning: 'int opt_duration(const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:328: warning: 'int opt_show_mode(const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:329: warning: 'int opt_codec(void*, const char*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:330: warning: 'void show_usage()' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:334: warning: 'int packet_queue_put_private(PacketQueue*, AVPacket*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:335: warning: 'int packet_queue_put(PacketQueue*, AVPacket*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:336: warning: 'void packet_queue_init(PacketQueue*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:337: warning: 'void packet_queue_flush(PacketQueue*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:338: warning: 'void packet_queue_destroy(PacketQueue*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:339: warning: 'void packet_queue_abort(PacketQueue*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:340: warning: 'void packet_queue_start(PacketQueue*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:341: warning: 'int packet_queue_get(PacketQueue*, AVPacket*, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:342: warning: 'void fill_rectangle(SDL_Surface*, int, int, int, int, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:344: warning: 'void blend_subrect(AVPicture*, const AVSubtitleRect*, int, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:345: warning: 'void free_subpicture(SubPicture*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:346: warning: 'void video_image_display(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:347: warning: 'int compute_mod(int, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:348: warning: 'void video_audio_display(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:349: warning: 'void stream_close(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:350: warning: 'void do_exit(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:351: warning: 'void sigterm_handler(int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:352: warning: 'int video_open(VideoState*, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:353: warning: 'void video_display(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:354: warning: 'int refresh_thread(void*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:355: warning: 'double get_audio_clock(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:356: warning: 'double get_video_clock(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:357: warning: 'double get_external_clock(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:358: warning: 'double get_master_clock(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:359: warning: 'void stream_seek(VideoState*, int64_t, int64_t, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:360: warning: 'void stream_toggle_pause(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:361: warning: 'double compute_target_delay(double, VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:362: warning: 'void pictq_next_picture(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:363: warning: 'void update_video_pts(VideoState*, double, int64_t)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:364: warning: 'void video_refresh(void*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:365: warning: 'void alloc_picture(AllocEventProps*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:366: warning: 'int queue_picture(VideoState*, AVFrame*, double, int64_t)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:367: warning: 'int get_video_frame(VideoState*, AVFrame*, int64_t*, AVPacket*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:368: warning: 'int configure_filtergraph(AVFilterGraph*, const char*, AVFilterContext*, AVFilterContext*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:370: warning: 'int configure_video_filters(AVFilterGraph*, VideoState*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:371: warning: 'int video_thread(void*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:372: warning: 'int subtitle_thread(void*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:373: warning: 'void update_sample_display(VideoState*, short int*, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:374: warning: 'int synchronize_audio(VideoState*, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:375: warning: 'int audio_decode_frame(VideoState*, double*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:376: warning: 'void sdl_audio_callback(void*, Uint8*, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:377: warning: 'int audio_open(void*, int64_t, int, int, AudioParams*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:378: warning: 'int stream_component_open(VideoState*, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:379: warning: 'void stream_component_close(VideoState*, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:380: warning: 'int decode_interrupt_cb(void*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:381: warning: 'int read_thread(void*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:382: warning: 'VideoState* stream_open(const char*, AVInputFormat*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:383: warning: 'void stream_cycle_channel(VideoState*, int)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:388: warning: 'void step_to_next_frame(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:389: warning: 'void toggle_audio_display(VideoState*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:390: warning: 'void opt_input_file(void*, const char*)' declared 'static' but never defined

..\ffplayTest\/ffplayTest.h:391: warning: 'void set_play_time(VideoState*, double)' declared 'static' but never defined

mingw32-make.exe[1]: *** [debug/main.o] Error 1

mingw32-make.exe: *** [debug] Error 2

17:03:58: 进程"E:\QtSDK\mingw\bin\mingw32-make.exe"退出,退出代码 2 。

程序运行的时候,出现如下错误,在网上查,说是mingw的问题,改成cygwin就可以了,现在在安装中,希望可以用

安装完了,发现不会用啊~~不知道怎么用cygwin编译qt程序。

求指导

你可能感兴趣的:(Qt,C/C++)