Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Include dirs, and qt warnings on 10.6, 10.7
Qt 6.11 is out! See what's new in the release blog

Include dirs, and qt warnings on 10.6, 10.7

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mauriwatta
    wrote on last edited by
    #1

    When compiling on 10.6 or 10.7 I have to manually copy the include and src directories into $QTDIR in order for my applications to work.

    Also: it's been a few releases of qt4 that when compiling on mac 10.6 or 10.7 I'm getting the warnings below. Everything works fine - but still, no warnings means perfect code ;-)

    (I had to trim the warnings by a factor of 10 to stay in the 6000 char limit)

    ln: /opt/programs/Darwin_macosx10.6-i386-gcc4.2.1/qt/4.8.4/qt-everywhere-opensource-src-4.8.4/include/QtCore/qconfig.h: File exists
    ln: /opt/programs/Darwin_macosx10.6-i386-gcc4.2.1/qt/4.8.4/qt-everywhere-opensource-src-4.8.4/include/Qt/qconfig.h: File exists
    WARNING: DESTDIR: Cannot access directory '/include/WebCore'
    WARNING: Failure to find: generated/WebKeyValueStorageManagerMessages.h
    WARNING: Failure to find: generated/WebResourceCacheManagerMessages.h
    WARNING: Failure to find: generated/WebResourceCacheManagerProxyMessages.h
    Project MESSAGE: Wayland GL Integration: xcomposite_glx
    Project MESSAGE: Wayland GL Integration: xcomposite_glx
    WARNING: /opt/programs/Darwin_macosx10.6-i386-gcc4.2.1/qt/4.8.4/qt-everywhere-opensource-src-4.8.4/src/plugins/s60/feedback/feedback.pro:16: Unable to find file for inclusion data_caging_paths
    WARNING: /opt/programs/Darwin_macosx10.6-i386-gcc4.2.1/qt/4.8.4/qt-everywhere-opensource-src-4.8.4/src/plugins/s60/feedback/feedback.pro:16: Unable to find file for inclusion data_caging_paths
    ../../corelib/tools/qlocale_mac.mm:72: warning: ‘QByteArray getMacLocaleName()’ defined but not used
    ../../corelib/tools/qlocale_mac.mm:281: warning: ‘quint8 macFirstDayOfWeek()’ defined but not used
    ../../corelib/tools/qlocale_mac.mm:290: warning: ‘QString macCurrencySymbol(QLocale::CurrencySymbolFormat)’ defined but not used
    /usr/bin/ranlib: file: libbootstrap.a(qisciicodec.o) has no symbols
    /usr/bin/ranlib: file: libbootstrap.a(qfilesystemengine_mac.o) has no symbols
    ranlib: file: libbootstrap.a(qisciicodec.o) has no symbols
    ranlib: file: libbootstrap.a(qfilesystemengine_mac.o) has no symbols
    In file included from ../3rdparty/harfbuzz/src/harfbuzz-shaper-all.cpp:25:
    ../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp: In function ‘HB_Bool HB_OpenTypePosition(HB_ShaperItem*, int, HB_Bool)’:
    ../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:1322: warning: comparison between signed and unsigned integer expressions
    codecs/qiconvcodec.cpp:309: warning: unused parameter ‘cd’
    access/qnetworkaccessdebugpipebackend_p.h:0: Note: No relevant classes found. No output generated.
    kernel/qwidget_mac.mm: In function ‘NSDrawer* qt_mac_drawer_for(const QWidget*)’:
    kernel/qwidget_mac.mm:224: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement
    kernel/qwidget_mac.mm: In member function ‘void QWidgetPrivate::stackUnder_sys(QWidget*)’:
    kernel/qt_cocoa_helpers_mac.mm:1691: warning: right shift count >= width of type
    widgets/qmenu_mac.mm: In function ‘void cancelAllMenuTracking()’:
    widgets/qmenu_mac.mm:184: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement
    widgets/qmenu_mac.mm: In function ‘void qt_mac_set_modal_state_helper_recursive(NSMenu*, NSMenu*, bool)’:
    objc_selector*, NSNotification*)’:
    widgets/qcocoatoolbardelegate_mac.mm:125: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement
    widgets/qcocoamenu_mac.mm: In function ‘BOOL -[QCocoaMenu hasShortcut:forKey:forModifiers:whichItem:](QCocoaMenu*, objc_selector*, NSMenu*, NSString*, NSUInteger, NSMenuItem**)’:
    widgets/qcocoamenu_mac.mm:127: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement
    dialogs/qfontdialog_mac.mm: In function ‘void -[QCocoaFontPanelDelegate changeAttributes:](QCocoaFontPanelDelegate*, objc_selector*, objc_object*)’:
    dialogs/qfontdialog_mac.mm:283: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement
    kernel/qkeymapper_mac.cpp:899: warning: unused parameter ‘unicodeKey’
    widgets/qmenudata.h:0: Note: No relevant classes found. No output generated.
    /usr/bin/ranlib: file: libjscore.a(CollatorICU.o) has no symbols
    In file included from ../../WebCore/page/ChromeClient.h:24,
    from WebCoreSupport/ChromeClientQt.h:32,
    from WebCoreSupport/DumpRenderTreeSupportQt.cpp:31:
    ../../WebCore/accessibility/AXObjectCache.h:185: warning: unused parameter ‘postToElement’
    In file included from WebCoreSupport/EditorClientQt.cpp:47:
    ../../WebCore/platform/qt/QWebPageClient.h:55: warning: unused parameter ‘layer’
    ../../WebCore/platform/qt/QWebPageClient.h:60: warning: unused parameter ‘scheduleSync’
    WebCoreSupport/EditorClientQt.cpp:616: warning: unused parameter ‘word’
    In file included from WebCoreSupport/PageClientQt.h:27,
    from WebCoreSupport/ChromeClientQt.cpp:51:

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved