Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. mac 上如何静态编译qt5.6.3
Forum Updated to NodeBB v4.3 + New Features

mac 上如何静态编译qt5.6.3

Scheduled Pinned Locked Moved Unsolved Chinese
1 Posts 1 Posters 1.1k Views
  • 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.
  • LinggoL Offline
    LinggoL Offline
    Linggo
    wrote on last edited by Linggo
    #1

    下载了qt5.6.3的源码

    编译出错,命令如下

    ./configure -static -debug-and-release -nomake examples -nomake tests -prefix ~/Qt/5.6.3_static_osx -qt-sql-sqlite -plugin-sql-sqlite -qt-libpng -qt-libjpeg -qt-zlib -qt-pcre -opensource -confirm-license -opengl -qt-freetype
    

    报错解决修改了源码下的qtbase/src/plugins/platforms/cocoa/qcocoahelpers.mm

    0_1550046242698_a9aabb1c-dad5-4372-8310-7de51364c0e0-image.png

    执行make不报错,但是make install报错

    0_1550046354848_d27c2c62-0320-49ca-81a8-9c4ebad41489-image.png

    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