initial port to cxx_qt 6.0
This commit is contained in:
parent
62daf316a3
commit
744481587f
31 changed files with 1992 additions and 1860 deletions
|
|
@ -36,8 +36,9 @@ mod file_helper {
|
|||
}
|
||||
}
|
||||
|
||||
use cxx_qt_lib::{QString, QUrl};
|
||||
use rfd::FileDialog;
|
||||
use std::path::Path;
|
||||
use std::{path::Path, pin::Pin};
|
||||
use tracing::{debug, debug_span, error, info, instrument};
|
||||
|
||||
#[derive(Clone)]
|
||||
|
|
@ -55,7 +56,7 @@ impl Default for FileHelperRust {
|
|||
}
|
||||
}
|
||||
|
||||
impl qobject::FileHelper {
|
||||
impl file_helper::FileHelper {
|
||||
pub fn load(self: Pin<&mut Self>, file: QUrl) -> Vec<String> {
|
||||
println!("{file}");
|
||||
vec!["hi".to_string()]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue