linuxqt官网-linux quiet

文章介绍:

qt-opensource-linux-x64-5.6.3.run有没有对应的32位版本,官网上没找到,有什么办法可以解决?

建议用 5.5.1 ,功能差不了太多,要不就得自己在32位系统下从源码编译Qt了。

先确认必须在32位系统下使用的必要性。再看看5.6的新功能是否有必须用到的。

New Features in Qt 5.6

New Features

Qt Core

Reduced memory usage of dynamic properties

Allow logging directly to syslog on Linux systems

Added QStorageInfo::blockSize()

new QVersionNumber class

Added key_iterator to QHash and QMap

Added const_iterator QByteArray

Added reverse iterator support to all sequential containers

added QDir::listSeparator()

Lots of performance optimisations in QString

Qt Network

Added QHostAddress::isMulticast()

Support HTTP redirection in QNetworkAccessManager

Qt GUI

Improved cross-platform OpenGL ES 3.0 and 3.1 support to help the development of mobile/embedded apps utilizing GLES3 features.

Improved cross-platform high-dpi support.

Raster engine support for rendering internally with 16bits-per-color.

QImageReader now exports gamma values and other meta data for some image formats

Qt Widgets

Allow programmatic resizing of dock widgets

Allow dropping dock widgets into floating docks

Allow the user to re-arrange tabified docks

Allow horizontal scrolling using a mouse wheel in QListView

QOpenGLWidget and QQuickWidget are now supported on WinRT

Qt Testlib

More stable input event handling

Qt Multimedia

New Playlist QML type.

New audio role API for the media player (C++ and QML)

Support for camera focus and video probe on WinRT

New functions in QML AudioEngine to support dynamic object creation

Qt WebEngine

Based on Chromium 45

Support for pepper plugins including Flash

Support for unbundling and linking with system libraries on Linux

Support for following global Qt proxy settings.

More WebActions from QtWebKit and WebAction API in QML.

New QtWebEngineCore module for shared low-level API

New core API for custom URL schemes

New core API for intercepting and blocking network requests

New core API for tracking or blocking cookies.

Qt QML

Support for writing JavaScript function names to Linux's perf output

Reduced overall memory consumption

Moved all the debug services into plugins. Custom debug services can be added width additional plugins.

Font rendering

Optional support for using FreeType on Mac OS X

Embedded platforms

Added support for NVIDIA Jetson TK1 Pro boards running Vibrante Linux via a new eglfs backend utilizing DRM, EGLDevice and EGLStream

Added support for Intel Atom-based NUCs

Desktop platforms

Windows 10 fully supported (classic and WinRT app)

Windows Store apps are now composited inside a XAML layer, allowing for better integration with the native UI layer

Windows embedded

Added support for WEC2013

Qt WebView

Added support for WinRT

Qt Canvas3D

Support for using Qt Quick items as textures

Support for rendering directly to Qt Quick scene background or foreground

Qt Nfc

Added support for Android

Qt Positioning

Added support for OS X

Added support for GPS receivers exposed as a serial port on Windows desktop (all versions)

Removed libgeoclue dependency for the GeoClue backend

Qt Location

Added the Qt Location module providing maps, navigation and places APIs for Qt Quick

Other Changes

Embedded platforms

libinput, when present, is now the default for eglfs and linuxfb

Image Formats

For security reasons, the MNG and JPEG 2000 handlers will by default no longer be built, unless the corresponding codec libraries are provided by the OS. Hence, the binary Qt releases for Windows and Mac will not contain prebuilt handlers for those formats, but users can still build them from source.

Deprecated Modules

The following modules are part of Qt 5.6 release, but deprecated and considered for removal in subsequent releases of Qt:

Qt Script

Qt Enginio

Removed Modules

With Qt 5.6 the following modules are no longer part of the release packages, but users can still build them from source:

Qt WebKit

Qt Declarative (Qt Quick 1)

linux中qt无法连接网络

安装好Qt开发工具后,打开Qt发现如果是空白页面,有以下几种情况:

1、可能是你没有安装好~就算是使用官方的命令进行安装的,也是有这种情况的~

2、跟网络没有关系,你只安装了Qt没有安装相应的插件~

解决办法:

在Qt官网下载最新版本的Qt,然后进行安装~~~

qt 官网上的linux qt5.6.2上没有qtsdk吗

qt默认被安装在/opt目录下。你进去了找到qtcreator运行就行了。

如何添加快捷图标:

命令行下:

ln -s qtcreator所在路径 创建快捷方式的路径

把qtcreator添加到环境变量的方法:

命令行下:

修改环境变量:export PATH=你qtcreator所在的目录名:$PATH

这样你在任何地方只要输入qtcreator就能启动了。

把qtcreator添加到制定的菜单分类中的方法:

我不知道小红帽是不是还在好用gnome的桌面。

假如是的话,你可以在/usr/share/desktops/下参考一个.desktop文件添加一个自定的文件。

把qtcreator的启动路径和图标路径填进去,保存就能在对应的菜单分类中找到了。

如何在linux下安装QT源码包,安装后用图形形式编程

虽然网络上很多人使用 Redhat 或者Fedora 作为上位机操作系统,但是我觉得使用Ubuntu最为方便,因为需要的软件包大部分都可以通过 apt-get 方式来安装,而不必从源代码开始自己编译。

虽然网络上很多人使用 Redhat 或者Fedora 作为上位机操作系统,但是我觉得使用Ubuntu最为方便,因为需要的软件包大部分都可以通过 apt-get 方式来安装,而不必从源代码开始自己编译。要知道,自己编译源代码可不是一件轻松的事,因为在编译过程中经常会出现令人意外而且莫名其妙的错误。

我们使用的操作系统是 Ubuntu 8.04,使用目前最新版本的QT 4.4.0,安装起来即为简单,只要在命令编辑运行以下命令就行:

sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer

注意在这个版本的软件包中,qt4-dev-tools 包含了Qt Assistant及Qt Linguist等工具,因此不需要单独安装这两个工具。其它的,qt4-doc 是帮助文档,包含了Qt中各个类库的详细说明以及丰富的例子程序,可以使用Qt Assistant 工具来打开阅读。qt4-qtconfig 是配置Qt环境的一个对话框,一般默认就行了,很少有必要去更改。qt4-demos 包含很多可以运行起来的可执行文件以及源代码。qt4-designer是用来设计GUI界面的设计器。

为了连接MySQL数据库,需要安装连接MySQL的驱动程序:

sudo apt-get install libqt4-sql-mysql

比起在Windows下安装和配置Qt的MySQL驱动来说,简直太方便了。如果还需要其它的没有默认安装的Qt库,可以在命令行输入 sudo apt-get install libqt4- 然后按tab键自动补全,就会列出所有以libqt4- 开头的软件包,如下图所示:

这些都可以使用一个命令搞定,而不需要自己从源码开始编译。在记不准或不知道名字的情况下,使用tab键列出所有可选的软件包是一个很实用的小技巧。

在我的项目中,还需要画一些数据曲线和统计图表等,而第三方的QWT库提供了这些功能。同样,只需要一个命令即可完成安装:

sudo apt-get install libqwt5-qt4 libqwt5-qt4-dev

这时,打开Qt Designer,就会发现左边的Widget列表里面多了“Qwt Widget”这一组。

最后,关于集成开发环境我觉得QDevelop很不错,它跟Qt Designer结合的很好,而且有提示类成员函数的功能。运行以下命令安装:

sudo apt-get install qdevelop

这样,使用Qdevelop编写代码和编译、调试,使用Qt Designer设计界面,开发效率较高。


原文链接:https://671922.com/17666.html

相关文章

访客
访客
发布于 2022-07-11 10:30:54  回复
Qdevelop编写代码和编译、调试,使用Qt Designer设计界面,开发效率较高。
访客
访客
发布于 2022-07-11 02:52:05  回复
ded platformslibinput, when present, is now the default for eglfs and linuxfbImage FormatsFor security reasons, the MNG and JPEG 2000 handlers wi
访客
访客
发布于 2022-07-11 10:05:00  回复
ild them from source:Qt WebKitQt Declarative (Qt Quick 1)linux中qt无法连接网络安装好Qt开发工具后,

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

返回顶部