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:
Ayush Singh 2021-12-23 15:10:06 +05:30
parent d328024062
commit b237f0e4ff
3 changed files with 5 additions and 5 deletions

View file

@ -44,7 +44,7 @@ jobs:
cached: ${{ steps.cache-qt.outputs.cache-hit }} cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Install KF5i18n - name: Install KF5i18n
run: sudo apt install libkf5i18n-dev libkf5i18nlocaledata5 run: sudo apt install libkf5i18n-dev
- name: Build - name: Build
run: cargo build --verbose --all-features run: cargo build --verbose --all-features
- name: Run tests - name: Run tests

View file

@ -72,8 +72,8 @@ fn ki18n_setup(config: &mut cpp_build::Config) {
let (kf5_include_path, kf5_library_path) = probe_kf5(); let (kf5_include_path, kf5_library_path) = probe_kf5();
config 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!( println!(
"cargo:rustc-link-search={}", "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={}", "KF5I18n");
println!("cargo:rustc-link-lib={}", "KF5I18nLocaleData"); // println!("cargo:rustc-link-lib={}", "KF5I18nLocaleData");
} }
fn probe_kf5() -> (PathBuf, PathBuf) { fn probe_kf5() -> (PathBuf, PathBuf) {

View file

@ -47,7 +47,7 @@
pub mod klocalizedcontext; pub mod klocalizedcontext;
pub mod klocalizedstring; pub mod klocalizedstring;
pub mod kcountry; // pub mod kcountry;
pub mod prelude { pub mod prelude {
pub use crate::klocalizedstring::KLocalizedString; pub use crate::klocalizedstring::KLocalizedString;