qt creator 安装后qmake在哪?
Tofloor
poster avatar
135******79
deepin
2017-08-12 01:48
Author
本帖最后由 argueuneven 于 2017-8-11 17:49 编辑

qmake提示:could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
想问一下要怎么做?
@jingle ,惊了大神,救救我

Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-08-12 01:59
#1
你是从仓库安装的吗?apt-cache policy qmake


Reply View the author
avatar
rekols
deepin
2017-08-12 02:00
#2
sudo apt install qt5-default
Reply View the author
avatar
135******79
deepin
2017-08-12 02:06
#3
本帖最后由 argueuneven 于 2017-8-11 18:08 编辑
https://bbs.deepin.org/post/144045
你是从仓库安装的吗?apt-cache policy qmake

从应用商店安装的

sudo: 无法解析主机:liquid-PC
N: 无法定位软件包 qmake
Reply View the author
avatar
135******79
deepin
2017-08-12 02:09
#4
https://bbs.deepin.org/post/144045
sudo apt install qt5-default

OK了
但是并不明白是什么原理
Reply View the author
avatar
jingle
deepin
2017-08-12 02:10
#5
https://bbs.deepin.org/post/144045
sudo apt install qt5-default

不用单独安装吗

了解了
deepin@deepin:~$ apt-cache depends qt5-default
qt5-default
  依赖: qtbase5-dev
  依赖: qtchooser
    qtchooser:i386
  冲突: qt4-default
  建议: qt5-qmake
  建议: qtbase5-dev-tools
    qtbase5-dev-tools:i386
Reply View the author
avatar
DebuggerX
deepin
2017-08-12 04:11
#6
https://bbs.deepin.org/post/144045
OK了
但是并不明白是什么原理

Package: qt5-default
Source: qtbase-opensource-src (5.6.1+dfsg-3)
Version: 5.6.1+dfsg-3+b1
Architecture: amd64
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Installed-Size: 91
Depends: qtbase5-dev, qtchooser (>= 55-gc9562a1-1~)
Suggests: qt5-qmake, qtbase5-dev-tools
Conflicts: qt4-default
Homepage: http://qt-project.org/
Priority: optional
Section: libdevel
Filename: pool/main/q/qtbase-opensource-src/qt5-default_5.6.1+dfsg-3+b1_amd64.deb
Size: 36722
SHA256: 68a583ae93be25ec3faa44134422fa2879535481d14aaced1c0829ecb3964e88
SHA1: 3d5705e13cc4c988547b3884b35f37b2b142f06f
MD5sum: d491c16bb0fefecfa8b522c88f0e4600
Description: Qt 5 development defaults package
Qt is a cross-platform C++ application framework. Qt's primary feature
is its rich set of widgets that provide standard GUI functionality.
.
This package sets Qt 5 to be the default Qt version to be used when
using development binaries like qmake. It provides a default
configuration for qtchooser, but does not prevent alternative Qt
installations from being used.

.
This package should not be used for building Debian packages. Take a
look at http://pkg-kde.alioth.debian.org/packagingqtbasedstuff.html for
more information.
Description-md5: dc660dc99de77417ffe18ef1a98f569e
Reply View the author
avatar
135******79
deepin
2017-08-13 01:48
#7
https://bbs.deepin.org/post/144045
Package: qt5-default
Source: qtbase-opensource-src (5.6.1+dfsg-3)
Version: 5.6.1+dfsg-3+b1

谢谢指点,感激不尽
Reply View the author