QtPIM无法使用qmake进行编译

时间:2016-03-25 09:16:33

标签: qt makefile qt5 qmake pim

我目前正在尝试编译qtpim库。我这样做是使用以下命令:

$ git clone git://code.qt.io/qt/qtpim.git

Cloning into 'qtpim'...
remote: Counting objects: 25257, done.
remote: Compressing objects: 100% (8419/8419), done.
remote: Total 25257 (delta 19142), reused 21557 (delta 16688)
Receiving objects: 100% (25257/25257), 14.96 MiB | 435.00 KiB/s, done.
Resolving deltas: 100% (19142/19142), done.
Checking connectivity... done.

$ cd qtpim /

$ git checkout v5.0.0-beta1

Note: checking out 'v5.0.0-beta1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a869b9a... Removed one un-used file.

$ qmake

Info: creating cache file $HOME/git/qtpim/.qmake.cache

$ make

Makefile:619: warning: overriding recipe for target 'docs'
Makefile:610: warning: ignoring old recipe for target 'docs'
cd src/ && ( test -e Makefile || /usr/lib/qt/bin/qmake $HOME/git/qtpim/src/src.pro -o Makefile ) && make -f Makefile
make[1]: Entering directory '$HOME/git/qtpim/src'
cd contacts/ && ( test -e Makefile || /usr/lib/qt/bin/qmake $HOME/git/qtpim/src/contacts/contacts.pro -o Makefile ) && make -f Makefile
Project ERROR: Module does not define version.
Makefile:47: recipe for target 'sub-contacts-make_first-ordered' failed
make[1]: *** [sub-contacts-make_first-ordered] Error 3
make[1]: Leaving directory '$HOME/git/qtpim/src'
Makefile:44: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2

糟糕的是,file tree中没有README或INSTALL文件或其他任何内容。我错过了让qmake编译这个库的内容吗?

0 个答案:

没有答案