0
点赞
收藏
分享

微信扫一扫

Debian 10.0 Linux x86 32位系统安装Qt5

看山远兮 2022-05-03 阅读 77

在Debian 10.0 Linux x86 32位系统安装Qt5,在采用官网下载的.run文件或采用源码编译均失败后,采用apt-get完成Qt5.11.3自动安装,实际上只是用了第二个命令。

sudo apt-get install build-essential
sudo apt-get install qtcreator qt5-default

编写了一个Qt例子,界面如下:
在这里插入图片描述
Qt安装信息:
{noformat}
Qt 5.11.3 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 8.3.0) on “xcb”
OS: Debian GNU/Linux 10 (buster) [linux version 4.19.0-16-686-pae]

Architecture: i386; features: SSE2 SSE3 SSSE3 SSE4.1

Environment:
QT_ACCESSIBILITY=“1”
QT_IM_MODULE=“ibus”

Features: QT_NO_EXCEPTIONS

Library info:
PrefixPath: /usr
DocumentationPath: /usr/share/qt5/doc
HeadersPath: /usr/include/i386-linux-gnu/qt5
LibrariesPath: /usr/lib/i386-linux-gnu
LibraryExecutablesPath: /usr/lib/i386-linux-gnu/qt5/libexec
BinariesPath: /usr/lib/qt5/bin
PluginsPath: /usr/lib/i386-linux-gnu/qt5/plugins
ImportsPath: /usr/lib/i386-linux-gnu/qt5/imports
Qml2ImportsPath: /usr/lib/i386-linux-gnu/qt5/qml
ArchDataPath: /usr/lib/i386-linux-gnu/qt5
DataPath: /usr/share/qt5
TranslationsPath: /usr/share/qt5/translations
ExamplesPath: /usr/lib/i386-linux-gnu/qt5/examples
TestsPath: /usr/tests
SettingsPath: /etc/xdg

Standard paths [ denote writable entry]:
DesktopLocation: “Desktop” /home/pyengine/Desktop
DocumentsLocation: “Documents” /home/pyengine/Documents
FontsLocation: “Fonts” /home/pyengine/.local/share/fonts /home/pyengine/.fonts
ApplicationsLocation: “Applications” /home/pyengine/.local/share/applications /usr/local/share/applications /usr/share/applications
MusicLocation: “Music” /home/pyengine/Music
MoviesLocation: “Movies” /home/pyengine/Videos
PicturesLocation: “Pictures” /home/pyengine/Pictures
TempLocation: “Temporary Directory” /tmp
HomeLocation: “Home” /home/pyengine
AppLocalDataLocation: “Application Data” /home/pyengine/.local/share/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
CacheLocation: “Cache” /home/pyengine/.cache/QtProject/qtdiag
GenericDataLocation: “Shared Data” /home/pyengine/.local/share /usr/local/share /usr/share
RuntimeLocation: “Runtime” /run/user/1000
ConfigLocation: “Configuration” /home/pyengine/.config /etc/xdg
DownloadLocation: “Download” /home/pyengine/Downloads
GenericCacheLocation: “Shared Cache” /home/pyengine/.cache
GenericConfigLocation: “Shared Configuration” /home/pyengine/.config /etc/xdg
AppDataLocation: “Application Data” /home/pyengine/.local/share/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
AppConfigLocation: “Application Configuration” /home/pyengine/.config/QtProject/qtdiag /etc/xdg/QtProject/qtdiag

File selectors (increasing order of precedence):
en_US unix linux debian

Network:
Using “OpenSSL 1.1.1d 10 Sep 2019”, version: 0x1010104f

Platform capabilities: ThreadedPixmaps OpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition

Style hints:
mouseDoubleClickInterval: 400
mousePressAndHoldInterval: 500
startDragDistance: 8
startDragTime: 500
startDragVelocity: 0
keyboardInputInterval: 400
keyboardAutoRepeatRate: 30
cursorFlashTime: 1200
showIsFullScreen: 0
showIsMaximized: 0
passwordMaskDelay: 0
passwordMaskCharacter: U+2022
fontSmoothingGamma: 1.7
useRtlExtensions: 0
setFocusOnTouchRelease: 0
tabFocusBehavior: Qt::TabFocusBehavior(TabFocusAllControls)
singleClickActivation: 0

Additional style hints (QPlatformIntegration):
ReplayMousePressOutsidePopup: 0

Theme:
Platforms requested : gtk3,gnome,generic
available : gtk3
Styles requested : fusion,windows
available : Windows,Fusion
Icon theme : Adwaita, from /usr/share/icons
System font : “Cantarell” 11
Native file dialog
Native color dialog
Native font dialog

Fonts:
General font : “Cantarell” 11
Fixed font : “monospace” 11
Title font : “DejaVu Sans” 12
Smallest font: “DejaVu Sans” 12

Palette:
WindowText: #ff000000
Button: #ffefefef
Light: #ffffffff
Midlight: #ffcbcbcb
Dark: #ff9f9f9f
Mid: #ffb8b8b8
Text: #ff000000
BrightText: #ffffffff
ButtonText: #ff000000
Base: #ffffffff
Window: #ffefefef
Shadow: #ff767676
Highlight: #ff308cc6
HighlightedText: #ffffffff
Link: #ff0000ff
LinkVisited: #ffff00ff
AlternateBase: #fff7f7f7
NoRole: #ff000000
ToolTipBase: #ffffffdc
ToolTipText: #ff000000

Screens: 1, High DPI scaling: inactive

0 “XWAYLAND0” Depth: 24 Primary: yes

Manufacturer:
Model:
Serial number:
Geometry: 1366x768+0+0 Available: 1366x741+0+27
Physical size: 310x170 mm Refresh: 59 Hz Power state: 0
Physical DPI: 111.924,114.748 Logical DPI: 96,96 Subpixel_None
DevicePixelRatio: 1 Pixel density: 1
Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

LibGL Vendor: nouveau
Renderer: NV96
Version: 3.3 (Compatibility Profile) Mesa 18.3.6
Shading language: 3.30
Format: Version: 3.3 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8
Profile: None (QOpenGLFunctions_3_3), Core (QOpenGLFunctions_3_3_Core), Compatibility (QOpenGLFunctions_3_3_Compatibility)

Unable to create a Vulkan instance, error code is-9

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Failed to create Vulkan instance: -9
Failed to create platform Vulkan instance

Plugin information:

  • Android 4.8.2
  • AutoTest 4.8.2
    AutotoolsProjectManager 4.8.2
    BareMetal 4.8.2
  • Bazaar 4.8.2
    Beautifier 4.8.2
  • BinEditor 4.8.2
  • Bookmarks 4.8.2
  • CMakeProjectManager 4.8.2
  • CVS 4.8.2
  • ClangCodeModel 4.8.2
    ClangFormat 4.8.2
  • ClangTools 4.8.2
  • ClassView 4.8.2
    ClearCase 4.8.2
  • CodePaster 4.8.2
    CompilationDatabaseProjectManager 4.8.2
  • Core 4.8.2
  • CppEditor 4.8.2
  • CppTools 4.8.2
    Cppcheck 4.8.2
  • Debugger 4.8.2
  • Designer 4.8.2
  • DiffEditor 4.8.2
    EmacsKeys 4.8.2
  • FakeVim 4.8.2
  • GLSLEditor 4.8.2
  • GenericProjectManager 4.8.2
  • Git 4.8.2
  • Help 4.8.2
  • ImageViewer 4.8.2
    Ios 4.8.2
    LanguageClient 4.8.2
  • Macros 4.8.2
  • Mercurial 4.8.2
  • ModelEditor 4.8.2
    Nim 4.8.2
  • Perforce 4.8.2
  • ProjectExplorer 4.8.2
  • PythonEditor 4.8.2
  • QbsProjectManager 4.8.2
  • QmakeAndroidSupport 4.8.2
  • QmakeProjectManager 4.8.2
  • QmlDesigner 4.8.2
  • QmlJSEditor 4.8.2
  • QmlJSTools 4.8.2
  • QmlProfiler 4.8.2
  • QmlProjectManager 4.8.2
  • Qnx 4.8.2
  • QtSupport 4.8.2
  • RemoteLinux 4.8.2
  • ResourceEditor 4.8.2
  • ScxmlEditor 4.8.2
    SerialTerminal 4.8.2
    SilverSearcher 4.8.2
  • Subversion 4.8.2
  • TaskList 4.8.2
  • TextEditor 4.8.2
    Todo 4.8.2
    UpdateInfo 4.8.2
  • Valgrind 4.8.2
  • VcsBase 4.8.2
  • Welcome 4.8.2
    WinRt 4.8.2

Qt Creator 4.8.2
Based on Qt 5.11.3 (GCC 8.3.0, 32 bit)

{noformat}

举报

相关推荐

0 条评论