Failed to start program. Path or permissions wrong? in Qt

Viewed 27901

I have downloaded Qt Mobility Open source project. I had a set of demo apps. And when built it and started the App, I got this error:

Failed to start program. Path or permissions wrong?

Can someone tell me what this problem could be?

UPDATE:

The complete error is:

Starting /Users/xxxxx/Qt/qt-mobility-opensource-src-1.0.2/config.app/Contents/MacOS/config... Failed to start program. Path or permissions wrong?

I have include the ".pro" file contents:

TEMPLATE = app
TARGET = writemessage

QT += gui

include(../examples.pri)

CONFIG += mobility
MOBILITY = messaging
INCLUDEPATH += ../../src/messaging

HEADERS += \
    messagesender.h

SOURCES += \
    messagesender.cpp\
    main.cpp

symbian:TARGET.CAPABILITY = NetworkServices \
    LocalServices \
    ReadUserData \
    WriteUserData \
    UserEnvironment \
    ReadDeviceData \
    WriteDeviceData
9 Answers

Check your antivirus settings.

That was my issue.

In my case this error was caused by a space at the start of "Working directory" path in "Run Settings".

In my case, this error was due to antivirus that was blocking to run the exe file. I just turned off the Avira Shield for some time and it worked.

Related