Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#52929 closed defect (wontfix)

qt5-qtbase @5.6.2 won't build Mac OS X 10.6.8, Snow Leopard, because of: use of undeclared identifier 'NSUpArrowFunctionKey' (+ some more)

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: snowleopard Cc: ballapete (Peter "Pete" Dyballa)
Port: qt5-qtbase

Description

/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:216:7: error: use of undeclared identifier 'NSUpArrowFunctionKey'
    { NSUpArrowFunctionKey, Qt::Key_Up },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:217:7: error: use of undeclared identifier 'NSDownArrowFunctionKey'
    { NSDownArrowFunctionKey, Qt::Key_Down },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:218:7: error: use of undeclared identifier 'NSLeftArrowFunctionKey'
    { NSLeftArrowFunctionKey, Qt::Key_Left },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:219:7: error: use of undeclared identifier 'NSRightArrowFunctionKey'
    { NSRightArrowFunctionKey, Qt::Key_Right },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:220:7: error: use of undeclared identifier 'NSF1FunctionKey'
    { NSF1FunctionKey, Qt::Key_F1 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:221:7: error: use of undeclared identifier 'NSF2FunctionKey'
    { NSF2FunctionKey, Qt::Key_F2 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:222:7: error: use of undeclared identifier 'NSF3FunctionKey'
    { NSF3FunctionKey, Qt::Key_F3 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:223:7: error: use of undeclared identifier 'NSF4FunctionKey'
    { NSF4FunctionKey, Qt::Key_F4 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:224:7: error: use of undeclared identifier 'NSF5FunctionKey'
    { NSF5FunctionKey, Qt::Key_F5 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:225:7: error: use of undeclared identifier 'NSF6FunctionKey'
    { NSF6FunctionKey, Qt::Key_F6 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:226:7: error: use of undeclared identifier 'NSF7FunctionKey'
    { NSF7FunctionKey, Qt::Key_F7 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:227:7: error: use of undeclared identifier 'NSF8FunctionKey'
    { NSF8FunctionKey, Qt::Key_F8 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:228:7: error: use of undeclared identifier 'NSF9FunctionKey'
    { NSF9FunctionKey, Qt::Key_F9 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:229:7: error: use of undeclared identifier 'NSF10FunctionKey'
    { NSF10FunctionKey, Qt::Key_F10 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:230:7: error: use of undeclared identifier 'NSF11FunctionKey'
    { NSF11FunctionKey, Qt::Key_F11 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:231:7: error: use of undeclared identifier 'NSF12FunctionKey'
    { NSF12FunctionKey, Qt::Key_F12 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:232:7: error: use of undeclared identifier 'NSF13FunctionKey'
    { NSF13FunctionKey, Qt::Key_F13 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:233:7: error: use of undeclared identifier 'NSF14FunctionKey'
    { NSF14FunctionKey, Qt::Key_F14 },
      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.2/src/corelib/kernel/qcore_mac_objc.mm:234:7: error: use of undeclared identifier 'NSF15FunctionKey'
    { NSF15FunctionKey, Qt::Key_F15 },
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [qcore_mac_objc.o] Error 1

Attachments (1)

main.log (24.6 KB) - added by ballapete (Peter "Pete" Dyballa) 8 years ago.
main.log from Snow Leopard, Mac OS X 10.6.8

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log from Snow Leopard, Mac OS X 10.6.8

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: MarcusCalhoun-Lopez removed
Keywords: snowleopard added; NS*FunctionKey removed
Owner: changed from macports-tickets@… to MarcusCalhoun-Lopez
Status: newassigned

comment:2 Changed 8 years ago by ken-cunningham-webuse

qt5 cannot build on Mac OSX 10.6.8 at present, and 5.6.2 almost certainly never will. Perhaps, with luck, some earlier version might be forced to build someday.

comment:3 Changed 8 years ago by ballapete (Peter "Pete" Dyballa)

Cc: ballapete added

comment:4 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: wontfix
Status: assignedclosed

I fooled around with this for quite a while, but I can not find a way to fix it.
All the way back to 5.3, Qt uses CFRunLoopTimerCreateWithHandler, which was not introduced until 10.7.

comment:5 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

In 34993a57/macports-ports:

qt5*: throw error for OS versions known not to work

See #52929

Note: See TracTickets for help on using tickets.