check username password vps with qt
-
Hi,
What do you mean by "the program stops" ? It crashes ?
-
The program has unexpectedly finished.
C:\Users\xxX\Documents\build-untitled-Desktop_Qt_5_8_0_MSVC2015_32bit-Debug\debug\untitled.exe crashed..Pro
# Libssh: LIBS += -L$$PWD'/libssh/lib/' -lssh INCLUDEPATH += $$PWD'/libssh/include/'
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::test() { ssh_session my_ssh_session = ssh_new(); if (my_ssh_session == NULL) exit(-1); ssh_free(my_ssh_session); qDebug() << "Test"; }
-
Hi
Where does it crash ?
If you single step with debugger, what line kills it?
if its before main() , its most likely something with the
libssh so/dll.
Did you compiled them yourself so they are clearly for vs215?