Skip to content

easyQML/easy.probes.qbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy.probes for Qbs

Made by Ukrainian License REUSE Compliance

A collection of helper probes for your Qbs projects.

Available probes

ConanInstall

This probe for Conan 2 runs conan install before building the project.

Dependencies

  • Qbs ≥ 2.4
  • Conan ≥ 2.4

Usage

  1. Enable the conan provider in your project:
    Project {
    	qbsModuleProviders: ['conan']
    }
  2. Set the install directory for it in all your products:
    moduleProviders.conan.installDirectory: project.buildDirectory
    Unfortunately, this can't be done on a project level yet due to the QBS-1801.
  3. Use it in your project. For example, like this:
    import qbs.FileInfo
    import easy.probes as Easy
    
    Project {
    	qbsModuleProviders: ['conan']
    
    	Easy.ConanInstall {
    		id: conan
    		conanfilePath: FileInfo.joinPaths(project.sourceDirectory, 'conanfile.py')
    
    		compilerCppStd: 20
    		additionalArguments: ['--build=missing']
    	}
    }

About

Collection of helper probes for your Qbs projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages