KDE Frameworks deployment on Windows - c++

I am going to deploy a Qt Application on github and I want to link with some KF5 modules
I call the cmake command
find_package(KF5Crash)
and on linux the things are quite simple the user can
apt-get install libkf5crash-dev
I can mention on documentation the instruction on how to install kcrash or other kf5 modules, the problem is on windows, how can I instruct the windows developers/contributors to install any of the kf5 module?

KDE developers use the Craft utility to deploy source and binaries of KF5 (and many other dependencies) to Windows.
See https://community.kde.org/Craft

Related

how can I add software pre-requisites to cloud foundry nodejs

I am using Cloud Foundry's nodejs profile and my nodejs package.json requires chartjs-node-canvas. That package uses node-canvas and node-canvas is based on Cairo. The node-canvas site says I have to add the cairo-devel package to Linux (apt-get) in order for canvas to be installed.
Is it possible to add software to the OS image running on cloud foundry? If so, how?
You can do that by vendoring the dependencies. When you vendor them, you'll build locally in an Ubuntu Bionic Linux container or VM. Node will build everything that's required and you will no longer need the cairo-devel package (it's only needed to build).
The process to vendor dependencies is documented here.
The other option is to use the Apt Buildpack which is described on this SO post. That can be used to install any apt packages.

aapt missing MACOS Use the `android' tool to install the "Android SDK Platform-tools"

aapt missing MACOS Use the `android' tool to install the "Android SDK Platform-tools".
i have already use android download times.
but i can't find any usefully aapt file
only link to /usr/local/Cellar/android-sdk/r22.0.1/platform-tools/aapt
but under /usr/local/Cellar/android-sdk/r22.0.1/platform-tools/ only adb
the "aapt" tool was moved to the Build Tools folder. Run "android" and make sure you install the build tools (18.1 is currently the latest one).
also see this other post:
Android Maven Could not find tool 'aapt'
Run the android command and ensure that the SDK tools for your target platform are up to date. It is possible that you updated the SDK but not the build tools.
Hope that helps.
The android tools from brew expect version 17 of the SDK Build-tools to be installed.
I had a similar problem recently and found it to be an error with my HomeBrew setup. I think HomeBrew was expecting a particular version of the build tools that I didn't have.
I found that updating HomeBrew
brew update
gave me a new error which was much more informative:
It appears you do not have 'build-tools-19.0.3' installed.
Use the 'android' tool to install them:
android update sdk --no-ui --filter 'build-tools-19.0.3'
Unfortunately the filter in the suggested command didn't work but I found I could install it manually through the UI by running the android tool and selecting the version HomeBrew was expecting.
See https://stackoverflow.com/a/16585846/440362 for correct answer. The file's directory has changed from tools to build-tools/

Custom build environment/target libraries

I want to build an application that will be compatible with, say, Debian Lenny (libc, postgres, oracle and other libs) on a different Debian/Ubuntu release.
Is this possible? If so, where can I read how to do it?
You can use the open build service for this. Create the Debian package description files for it (you can add also rpm spec files), select the target distributions and you will get it built on each platform and also get a specific download repository for each platform. Your package will be rebuilt automatically when needed as well. You can install your own instance of the service if you need to host proprietary code.
If you want a multiplatform binary, you may want to build it against a LSB chroot:
http://ftp.linux-foundation.org/pub/lsb/impl
And bundle any library that is not part of it. The LSB has tools to then check your app for compliance. Their website is down right now, but it should be here: http://ldn.linuxfoundation.org/lsb/check-your-app

pion-network library installation

I have downloaded and installed the pion network library.
I am trying to build the sample web services (HelloService etc). However, I cannot find instructions on how to build the examples.
I am developing on windows7
Check This for build instructions on Windows.
You might also want to see here the compatibility of your windows.

Ubuntu:C++::Boost library upgrade

After installing Boost library using Synaptic Package Manager, the version installed is 1.42.
If I check on boost official website, the current version is: 1.45.
How can I upgrade to 1.45 from Synaptic package manager?
Thanks in advance.
You probably can not as the distribution usually lags behind. The best option I usually follow is to just download and compile and install it myself as described here
It has to be packaged first (by Ubuntu).
If you want to manually install the new version I would recommend that you install it into some local directory, since installing it into the system might break a lot of applications.