Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 关于Mac10.11.4下编译32bit Qt5.6.1的问题。
Qt 6.11 is out! See what's new in the release blog

关于Mac10.11.4下编译32bit Qt5.6.1的问题。

Scheduled Pinned Locked Moved Unsolved Chinese
2 Posts 1 Posters 3.6k 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.
  • VeMJV Offline
    VeMJV Offline
    VeMJ
    wrote on last edited by
    #1

    第一次在mac下编译32位的Qt。也不知道怎么弄。在官网看到帮助文档。

    ./configure -platform macx-clang-32用这个make。
    编译到后面出现下面的问题。
    Project ERROR: /Users/VeCrystal/Downloads/qt-everywhere-opensource-src-5.6.1/qtbase/examples/widgets/mac/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro is lacking an install target.
    make[4]: *** [sub-qmaccocoaviewcontainer-make_first] Error 3
    make[3]: *** [sub-mac-make_first] Error 2
    make[2]: *** [sub-widgets-make_first] Error 2
    make[1]: *** [sub-examples-make_first] Error 2
    make: *** [module-qtbase-make_first] Error 2

    请问大神们有编译成功的么,./configure -platform macx-clang-32 后面还有需要加什么参数的么?我弄了好几天,有点没头绪,希望在这里得到朋友们的帮忙指导。谢谢。

    1 Reply Last reply
    0
    • VeMJV Offline
      VeMJV Offline
      VeMJ
      wrote on last edited by
      #2

      解决了。
      examples忽略编译,还有tests。
      所以Use:
      ./configure -platform macx-clang-32 -nomake examples -nomake tests -skip qtwebengine

      o

      yes


      make

      编译完成后,新手请注意安装的时候先进入超级用户:sudo -s
      然后:make install
      完成后会在生成相应的库,直接放到你安装的mac clang 64下,然后设置qt creator的配置就好了。(选择qmake版本这些)

      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