Path or permissions wrong?



  • When creating a Windows GUI application, Qt creates this file:
    @#include "mainwindow.h"
    #include "ui_mainwindow.h"

    MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
    {
    ui->setupUi(this);
    }

    MainWindow::~MainWindow()
    {
    delete ui;
    }@

    However, when compiling I get this message:

    Starting D:\ArbolOne\dev\QT_untitled\build-untitled01-Desktop_Qt_5_1_0_MinGW_32bit-Debug\debug\untitled01.exe...
    Failed to start program. Path or permissions wrong?
    D:\ArbolOne\dev\QT_untitled\build-untitled01-Desktop_Qt_5_1_0_MinGW_32bit-Debug\debug\untitled01.exe exited with code

    What am I doing wrong?


  • Lifetime Qt Champion

    Hi,

    Are you using the default pro file generated with the project ?



  • Yes I am. Hoping to resolve this issue I have installed qt-windows-opensource-5.1.0-msvc2012_opengl-x86_64-offline, since I have msvc2012 express, but to no avail; I keep getting the same error message.

    Starting D:\ArbolOne\dev\QT_untitled\build-untitled01-Desktop_Qt_5_1_0_MSVC2012_OpenGL_64bit-Debug\debug\untitled01.exe...
    Failed to start program. Path or permissions wrong?
    D:\ArbolOne\dev\QT_untitled\build-untitled01-Desktop_Qt_5_1_0_MSVC2012_OpenGL_64bit-Debug\debug\untitled01.exe exited with code -1

    Why is Qt soooo difficult to install on Windows? What are the limitations the engineers are having there that has force them to do a half bad job with this beautiful toolkit.
    Look people, in all reality you are performing very poorly, even much lower quality toolkits are dong better, GTK and gtkmm are just an example. One only needs to install the toolkit and poom! plug and play! that's it. It is TV dinner to have this packages plug to our current applications. I would not recommend anyone using Windows to even try that garbage toolkit, but I would recommend you to have a quick look at how they make the usage of it soooooooo simple.

    @#include "mainwindow.h"
    #include "ui_mainwindow.h"

    MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
    {
    ui->setupUi(this);
    }

    MainWindow::~MainWindow()
    {
    delete ui;
    }@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.