[Qt-interest] Build Issue in Qt application on Mac
eike.ziller at nokia.com
eike.ziller at nokia.com
Tue Nov 22 10:35:46 CET 2011
Hi,
On 16 Nov 2011, at 09:09, ext Arun Kumar wrote:
> Hi,
>
> I created one application in Qt It uses AudioOutputUnitStart(audioUnit); function in one of my member function
>
> void QAudioOutputPrivate::audioThreadStart()
> {
> startTimers();
> audioThreadState = Running;
> AudioOutputUnitStart(audioUnit);
> }
>
> and include the follwing heasder file too
>
> #include <AudioUnit/AudioUnit.h>
>
> It shows me the following build issues
> symbol(s) not found
> collect2: Id return 1 exit status
>
> and My compile output like this
>
> QAudioInputPrivate::audioThreadStart() in qaudioinput_mac_p.o
>
> QAudioOutputPrivate::audioThreadStart() in qaudiooutput_mac_p.o
>
> ld: symbol(s) not found
>
> collect2: ld returned 1 exit status
Do you have "-framework AudioUnit" in your linker command line?
Otherwise you have to add that to the LIBS qmake variable in your pro/pri file.
Br,
--
Eike Ziller
Principal Software Engineer
Nokia, Qt Development Frameworks
Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
More information about the Qt-interest-old
mailing list