Removing KCountry for now.
Cannot find the package providing KCountry.h in Ubuntu. It is present with the normal KI18n in Arch Linux so no idea what to do.
This commit is contained in:
parent
d328024062
commit
b237f0e4ff
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
|||
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
||||
|
||||
- name: Install KF5i18n
|
||||
run: sudo apt install libkf5i18n-dev libkf5i18nlocaledata5
|
||||
run: sudo apt install libkf5i18n-dev
|
||||
- name: Build
|
||||
run: cargo build --verbose --all-features
|
||||
- name: Run tests
|
||||
|
|
6
build.rs
6
build.rs
|
@ -72,8 +72,8 @@ fn ki18n_setup(config: &mut cpp_build::Config) {
|
|||
let (kf5_include_path, kf5_library_path) = probe_kf5();
|
||||
|
||||
config
|
||||
.include(kf5_include_path.join("KI18n"))
|
||||
.include(kf5_include_path.join("KI18nLocaleData"));
|
||||
// .include(kf5_include_path.join("KI18nLocaleData"))
|
||||
.include(kf5_include_path.join("KI18n"));
|
||||
|
||||
println!(
|
||||
"cargo:rustc-link-search={}",
|
||||
|
@ -81,7 +81,7 @@ fn ki18n_setup(config: &mut cpp_build::Config) {
|
|||
);
|
||||
|
||||
println!("cargo:rustc-link-lib={}", "KF5I18n");
|
||||
println!("cargo:rustc-link-lib={}", "KF5I18nLocaleData");
|
||||
// println!("cargo:rustc-link-lib={}", "KF5I18nLocaleData");
|
||||
}
|
||||
|
||||
fn probe_kf5() -> (PathBuf, PathBuf) {
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
pub mod klocalizedcontext;
|
||||
pub mod klocalizedstring;
|
||||
pub mod kcountry;
|
||||
// pub mod kcountry;
|
||||
|
||||
pub mod prelude {
|
||||
pub use crate::klocalizedstring::KLocalizedString;
|
||||
|
|
Loading…
Reference in a new issue