CopperSpice Overview
Platform Defines

The following table details the "Q_" defines which can be used in your application if platform or operating system specific code is required.

Unless otherwise noted these OS defines are available in CopperSpice.

Define Description
Q_OS_AIX Unsupported, proprietary system (uses GCC 4.3)
Q_OS_BSD4 Defined on all BSD platforms
Q_OS_BSDI Unsupported, discontinued system
Q_OS_CYGWIN Unsupported, license and major distribution issues
Q_OS_DARWIN Defined on Apple platforms, preferred over Q_OS_MAC
Q_OS_DGUX Unsupported, discontinued system
Q_OS_DYNIX Unsupported, discontinued system
Q_OS_FREEBSD Defined on all FreeBSD platforms
Q_OS_HPUX Unsupported, discontinued system
Q_OS_HURD Unsupported, not a production system
Q_OS_INTEGRITY Unsupported, proprietary closed system
Q_OS_IRIX Unsupported, discontinued system
Q_OS_LINUX Defined on all linux platforms
Q_OS_LYNX Unsupported, proprietary system (uses GCC 3.4)
Q_OS_IOS Defined on all Mobile Apple devices
Q_OS_MAC Use Q_OS_DARWIN
Q_OS_MACX Use Q_OS_DARWIN
Q_OS_MSDOS Unsupported, discontinued system
Q_OS_NETBSD
Q_OS_OPENBSD
Q_OS_OS2EMX Unsupported, proprietary system
Q_OS_OSF Unsupported, discontinued system
Q_OS_QNX Unsupported, proprietary system (uses GCC 4.2)
Q_OS_QNX6 Unsupported, proprietary system (uses GCC 4.3)
Q_OS_RELIANT Unsupported, discontinued system
Q_OS_SCO Unsupported, proprietary system (uses GCC 2.95)
Q_OS_SOLARIS Unsupported, discontinued system
Q_OS_SYMBIAN Unsupported, proprietary system
Q_OS_ULTRIX Unsupported, discontinued system
Q_OS_UNIX
Q_OS_UNIXWARE
Q_OS_VXWORKS Unsupported, proprietary system (uses GCC 4.4)
Q_OS_WIN True when Q_OS_WIN32 or Q_OS_WIN64 is true
Q_OS_WIN32
Q_OS_WIN64
Q_OS_WINCE Unsupported by Microsoft, changed to Windows Embedded
Q_OS_WINCE_STD Unsupported by Microsoft, changed to Windows Embedded