Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QT and Windows



Hi,

Trying to build my first QuickTime app for Windows

downloaded the SDK for Windows and
the audioconverter.win example

opened the example with Visual C++.net (version 7)

defined
#define TARGET_OS_WIN32 1

set up the directories for header files and libraries

get the following error

error C2365: 'MEDIA_TYPE' : redefinition; previous definition was a 'enumerator'


so 'MEDIA_TYPE' is defined both by Windows and QuickTime

how do I resolve that conflict?

--

tried to open the example with Visual C++ 6

compiled OK (had to remove a Mac #pragma directive)

but get a link error instead

AudioConvert.obj : error LNK2001: unresolved external symbol _NavCustomControl


In what librariy is NavCustomControl located?

the example includes the:

QTDevWin\Libraries\qtmlclient.lib
which it links with but another lib is missing

Was not as easy as it seems to support QT under Windows!

Thanks for any help

Rolf NIlsson
_______________________________________________
quicktime-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-api
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.