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. How to build Qt with gcc-6 on macOS
Forum Updated to NodeBB v4.3 + New Features

How to build Qt with gcc-6 on macOS

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 691 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.
  • A Offline
    A Offline
    Athius
    wrote on last edited by
    #1

    Hello guys!

    I've been trying to build Qt with gcc-6 (downloaded with homebrew). But I don't have any success: problems of flags compilations (-fconstant-cfstrings instead of -mconstant-cfstrings), many errors while loading the CoreFoundation.framework (error: 'introduced' was not declared in this scope and error: 'deprecated' was not declared in this scope).

    Does anyone succeed to build Qt on macOs (Sierra) with gcc-6?

    Thank you.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Not likely the answer you expect but Qt is officially only supported with Apple's Xcode.

      You'll likely encounter other hurdle getting the build system to use another compiler.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

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