-
Notifications
You must be signed in to change notification settings - Fork 24
Description
today when i try to build all the project of QtSsh the whole project, i meet the problem like this:
/home/hdh/workspace/QtSsh/examples/filesystem_model.cpp: In member function 'void MainWindow::onHostEdited()':
/home/hdh/workspace/QtSsh/examples/filesystem_model.cpp:35:62: error: no matching function for call to 'SshClient::SshClient(QTreeView*&)'
SshClient client = new SshClient(ui->browser);
^
In file included from /home/hdh/workspace/QtSsh/examples/filesystem_model.cpp:4:0:
/home/hdh/workspace/QtSsh/qtssh/../qtssh/sshclient.h:76:5: note: candidate: SshClient::SshClient(QString, QObject)
SshClient(QString name = "noname", QObject * parent = NULL);
^
/home/hdh/workspace/QtSsh/qtssh/../qtssh/sshclient.h:76:5: note: no known conversion for argument 1 from 'QTreeView*' to 'QString'
examples/CMakeFiles/filesystem_model.dir/build.make:62: recipe for target 'examples/CMakeFiles/filesystem_model.dir/filesystem_model.cpp.o' failed
it seems like the function of SshClient() has used a unknow conversion of QTree. Or it just because the version of qt? Why there appeared a QTreeView*?
Appreciate the support by the developers! Thank you guys very much.