Sure. Under 5.1:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
 -c -pipe -O2 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
 -mmacosx-version-min=10.6 -Wall -W -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB 
-DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
-I/usr/local/qt-5.1.0b/mkspecs/macx-clang -I../EZPReport 
-I/usr/local/qt-5.1.0b/include -I/usr/local/qt-5.1.0b/include/QtPrintSupport 
-I/usr/local/qt-5.1.0b/lib/QtPrintSupport.framework/Versions/5/Headers 
-I/usr/local/qt-5.1.0b/include/QtWidgets 
-I/usr/local/qt-5.1.0b/lib/QtWidgets.framework/Versions/5/Headers 
-I/usr/local/qt-5.1.0b/include/QtSql 
-I/usr/local/qt-5.1.0b/lib/QtSql.framework/Versions/5/Headers 
-I/usr/local/qt-5.1.0b/include/QtGui 
-I/usr/local/qt-5.1.0b/lib/QtGui.framework/Versions/5/Headers 
-I/usr/local/qt-5.1.0b/include/QtCore 
-I/usr/local/qt-5.1.0b/lib/QtCore.framework/Versions/5/Headers -I. 
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
 
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers
 -I. -I. ../EZPReport/EvernoteInterface.mm -o EvernoteInterface.o
../EZPReport/EvernoteInterface.mm:20:9: fatal error: 
'EvernoteSDK-Mac/EvernoteSDK.h' file not found
#import <EvernoteSDK-Mac/EvernoteSDK.h>
        ^
1 error generated.
make: *** [EvernoteInterface.o] Error 1
12:36:24: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project EZPReport (kit: Desktop-Qt-5.1.0b)
When executing step 'Make'


And the same file under 5.0.1 (which works):

 clang -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -DQT_NO_DEBUG 
-DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
-I/usr/local/qt-5.0.1/mkspecs/macx-clang -I../EZPReport 
-I/usr/local/qt-5.0.1/include -I/usr/local/qt-5.0.1/include/QtPrintSupport 
-I/usr/local/qt-5.0.1/lib/QtPrintSupport.framework/Versions/5/Headers 
-I/usr/local/qt-5.0.1/include/QtWidgets 
-I/usr/local/qt-5.0.1/lib/QtWidgets.framework/Versions/5/Headers 
-I/usr/local/qt-5.0.1/include/QtSql 
-I/usr/local/qt-5.0.1/lib/QtSql.framework/Versions/5/Headers 
-I/usr/local/qt-5.0.1/include/QtGui 
-I/usr/local/qt-5.0.1/lib/QtGui.framework/Versions/5/Headers 
-I/usr/local/qt-5.0.1/include/QtCore 
-I/usr/local/qt-5.0.1/lib/QtCore.framework/Versions/5/Headers -I. 
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers 
-I/System/Library/Frameworks/AGL.framework/Headers -I. -I. 
../EZPReport/EvernoteInterface.mm -o EvernoteInterface.o

This produces a warning about an unused variable, but continues happily on to 
the next file.


-----------------------------------------------
Israel Brewster
Computer Support Technician II
Era Alaska
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x7293
-----------------------------------------------

BEGIN:VCARD
VERSION:3.0
N:Brewster;Israel;;;
FN:Israel Brewster
ORG:Frontier Flying Service;MIS
TITLE:PC Support Tech II
EMAIL;type=INTERNET;type=WORK;type=pref:isr...@frontierflying.com
TEL;type=WORK;type=pref:907-450-7293
item1.ADR;type=WORK;type=pref:;;5245 Airport Industrial Wy;Fairbanks;AK;99701;
item1.X-ABADR:us
CATEGORIES:General
X-ABUID:36305438-95EA-4410-91AB-45D16CABCDDC\:ABPerson
END:VCARD
On Jun 4, 2013, at 12:31 PM, Thiago Macieira <thiago.macie...@intel.com> wrote:

> On terça-feira, 4 de junho de 2013 12.09.49, Israel Brewster wrote:
>> I'm hoping this is just something I'm doing wrong. I have a project which
>> uses a third-party framework - specifically the EvernoteSDK-Mac.framework.
>> I have this framework installed in /Library/Frameworks. When I build my
>> project under Qt 5.0.1, it builds and runs properly. However, when I try
>> with the 5.1 beta, the build fails, complaining about being unable to find
>> one of the Evernote header files. I wouldn't think this would be a Qt
>> issue, except literally the only change I made was building against Qt 5.1
>> rather than Qt 5.0.1. Even all the project build settings are identical.
>> Why might it find the headers fine when building under Qt 5.0.1, but not
>> find them when building under Qt 5.1.0beta?
> 
> My guess is that this is somehow related to our use of the SDK compiler, 
> instead of the global compiler.
> 
> Can you paste the exact command-line that failed when building (as printed by 
> make)? And can you do the same with Qt 5.0.1 which passed?
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to