Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Path or permissions wrong?
Forum Updated to NodeBB v4.3 + New Features

Path or permissions wrong?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ArbolOne
    wrote on last edited by
    #1

    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?

    This is not the first time you've been here, at the end you've always lost. You create viruses and we the cure, and in this battle you've always lost.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ArbolOne
        wrote on last edited by
        #3

        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;
        }@

        This is not the first time you've been here, at the end you've always lost. You create viruses and we the cure, and in this battle you've always lost.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved