Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 手动编译QT5,make install 后,运行qmake -v 没有任何显示。。说没有安装。。

手动编译QT5,make install 后,运行qmake -v 没有任何显示。。说没有安装。。

Scheduled Pinned Locked Moved Chinese
4 Posts 2 Posters 9.1k 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.
  • F Offline
    F Offline
    fengtianba
    wrote on last edited by
    #1

    手动下的源码,参考的是这篇文章的安装
    git clone git://gitorious.org/qt/qt5.git qt5

    cd qt5
    git checkout stable

    cd qt5
    perl init-repository

    ./configure -developer-build -opensource -nomake examples -nomake tests

    make -j 4

    make install

    上面一系列过程没有错误,但是运行qmake -v就是没有输出,还提示让装qt。。

    I will come back soon

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jiangcaiyang
      wrote on last edited by
      #2

      那肯定是有错误喽。看看有make中有没有出现Error 2这样的字眼。有的话就一定是错误。

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fengtianba
        wrote on last edited by
        #3

        [quote author="jiangcaiyang" date="1400507747"]那肯定是有错误喽。看看有make中有没有出现Error 2这样的字眼。有的话就一定是错误。[/quote]

        没有

        I will come back soon

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jiangcaiyang
          wrote on last edited by
          #4

          cd 到你qt5这个目录,然后cd qtbase/bin,最后执行./qmake -v看看。

          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