当前位置:网站首页>QT 6.3.1conan software package release
QT 6.3.1conan software package release
2022-06-30 04:21:00 【꧁ under poplar tree ꧂】
Qt 6.3.1 Conan packages released
Qt 6.3.1Conan Package release
Tuesday June 28, 2022 by Iikka Eklund | Comments
Iikka Eklund On 2022 year 6 month 28 Comment Tuesday
We are happy to announce the Qt 6.3.1 Conan Technology Preview packages release today. The packages are available with the Conan package manager from The Qt Company Conan server. Both desktop (Windows MSVC2019 and MinGW, macOS, and Linux) and mobile (Android) packages are available.
We are very happy to release Qt 6.3.1Conan Technical preview package .Conan The package manager can be accessed from Qt company Conan The server gets these packages . desktop (Windows MSVC2019 and MinGW、macOS and Linux) And mobile (Android) Packages are available .
Conan is the open-source, decentralized, and multi-platform package manager to create and share native binaries for C/C++. There are already almost 1,000 developers, who have downloaded and used Qt packages via the Qt Conan server.
Conan It's an open source 、 Scattered 、 Multi platform package manager , For creating and sharing C/C++ Native binaries for . There have been nearly 1000 Developers passed Qt Conan The server downloaded and used Qt software package .
Why should I use Conan package management?
Why use Conan Package management ?
- Easier to manage any transient dependency - define the dependency and Conan manages the dependencies with exactly the correct package versions.
- Easier to manage any temporary dependencies - Define dependencies ,Conan Manage dependencies with the correct package version .
- Improved modularity - Download only the packages your project needs, nothing else.
- Improved modularity — Download only the packages required for the project , Do not download other packages .
- Manage external libraries - Conan helps in using dependencies to any other libraries as long as you have the Conan recipe
- Manage external libraries - As long as you have Conan formula ,Conan Can help you use dependencies on any other library
- Custom build configurations - Didn't you find the binaries/build configuration you needed? Just edit the provided build profiles for your needs and pass "--build" and Conan will build everything you need from sources (provided you have compilation tools in your environment). The built binaries are stored in your local Conan cache, from where the binaries can be then easily re-used.
- Custom build configuration - You did not find the required binary / Generate configuration ? Just edit the provided build profile and pass it along as you need it “-build”,Conan You'll build everything you need from the source code ( The premise is that there are compilation tools in your environment ). The built binaries are stored locally Conan In cache , Where binaries can be easily reused .
- Conan caches the binaries locally so additional installations are faster.
- Conan caches binary files locally , For other installations faster .
How to get started?
How to start ?
Install Conan from here. Using a recent version is preferred (1.47 or later).
Install... From here Conan. It's best to use the latest version (1.47 Or later ).
To get access to our Conan packages, go to the "Conan Package Manager" page in Qt Account to generate your personal credentials for the Conan server.
To visit our Conan software package , Please go to Qt In account “Conan Package manager ” page , by Conan The server generates your personal credentials .
1. Add the remote to your local configuration:
1、 Add the remote device to the local configuration :
$ conan remote add qt https://qtpkgtest.jfrog.io/artifactory/api/conan/qt
2. Authenticate to our server:
2、 Authenticate to our server :
$ conan user -p PASSWORD -r qt USERNAME
Building an example for desktop
Build desktop samples
1. First, declare the dependencies your application has:
1、 First , Declare application dependencies :
$ cd <my app folder>
my_app_deps.txt:
[requires]
qtbase/[email protected]/everywhere
qtdeclarative/[email protected]/everywhere
2. To access the pre-built Qt binaries install the build profiles used by Qt CI:
2、 To access pre built Qt Binary , Please install Qt CI Build configuration file used :
$ mkdir build && cd build
$ conan install qtbuildprofiles/[email protected]/everywhere --remote=qt
3. Install the needed dependencies and ask Conan to generate virtual env for you to access those binaries:
3、 Install the required dependencies , And ask the Conan Generate a virtual environment for you to access these binaries :
$ conan install my_app_deps.txt --profile=linux-x86_64-gcc --update --generator=virtualenv --remote=qt
# wait for the installation to complete ...
$ source activate.sh # on windows run the activate.bat
# build your app
$ cd <my app dir>
$ qt-cmake CMakeLists.txt
$ cmake --build . # run your app
Building an application for Android
structure Android Applications
1. First, you need to install the host binaries where you are running the builds:
1、 First , You need to install the host binaries where you run the build :
$ mkdir host && cd host $ conan install qtsvg/[email protected]/everywhere --profile ../linux-x86_64-gcc --generator=virtualenv --update -r qt $ cd ..
2. Then install the Android binaries:
2、 Then install Android Binary :
$ mkdir target && cd target # Note1: pass the QT_HOST_PATH to build system via Conan using -o qtbase:qt_host_path=<host install folder in step 1. above> # Note2: pass the Android Sdk and Ndk versions as well $ conan install qtsvg/[email protected]/everywhere --profile ../unix-android-x86_64-clang --update --build=never -r qt --generator=virtualenv -o qtbase:qt_host_path=/<my work folder>/host/ -o *:android_sdk_version=31 -o *:android_ndk_version=r22b
3. Activate the virtual environments:
3、 Activate the virtual environment :
$ cd ../host && source activate.sh # Then activate the target (Android) virtual env: $ cd ../target && source activate.sh
4. Build your application:
4、 Building the application :
$ cd <my app folder> $ qt-cmake CMakeLists.txt $ make
Conan usage example
Conan Examples of use
Please look at more details here.
Please see more details here .
Your feedback is still valuable!
Your feedback is still valuable !
We are interested to hear how Qt Conan packages would fit in your workflow? I.e. using Qt "the package manager way". Any of the following feedback channels can be used:
We'd love to know Qt Conan How packages fit into your workflow ? One 、 e. Use Qt“ Package manager mode ”. You can use any of the following feedback channels :
- Please let us know your thoughts in this blog post comments.
- Please tell us what you think in this blog comment .
- Please use Qt Bug Tracker to file bugs and suggestions. Please use the component Conan to allow easy filtering.
- Please use Qt Bug Tracker To archive Bug And suggestions . Please use component Conan In order to filter .
边栏推荐
- I get n offers in two months. I don't have any difficult interviewers here
- I spent three years in a big factory outsourcing, which subverted my understanding!
- Anonymous pipeline for interprocess communication
- Myrpc version 1
- You know AI, database and computer system
- [cloud native] AI cloud development platform - Introduction to AI model foundry (developers can experience AI training model for free)
- Myrpc version 6
- Matlab reads fig file and restores signal
- Interview topic of MySQL
- (04). Net Maui actual MVVM
猜你喜欢
FortiGate firewall configuration log uploading regularly
[image fusion] multi focus and multi spectral image fusion based on cross bilateral filter and weighted average with matlab code
Day 11 script and game AI
Robot slam navigation core technology and practice Season 1: Chapter 0_ Slam development overview
Basic knowledge of redis
Cloud native -- websocket of Web real-time communication technology
尝试链接数据库时出现链接超时报错,如何解决?
lego_ Reading and summary of loam code
I get n offers in two months. I don't have any difficult interviewers here
el-upload上传文件(手动上传,自动上传,上传进度)
随机推荐
Detailed explanation of network layer
Es2017 key summary
JS static method
FortiGate creates multiple corresponding DDNS dynamic domain names for multiple ADSL interfaces
About manipulator on Intelligent Vision Group
JS generator
【WEBRTC】ADM: rtc_include_internal_audio_device 触发 RTC_DCHECK(adm) 断言
SQL server2005中SUM函数中条件筛选(IF)语法报错
idea灰屏问题
找到接口在表单里加参数
Slam mapping, automatic navigation and obstacle avoidance based on ROS (bingda robot)
Stack implementation integrated Calculator - code implementation
第九天 脚本与资源管理
base64.c
base64.c
Redis sentry, persistence, master-slave, hand tear LRU
Share an example of a simple MapReduce method using a virtual machine
Day 12 advanced programming techniques
[image fusion] multi focus and multi spectral image fusion based on cross bilateral filter and weighted average with matlab code
Daily summary of code knowledge