Results 1 to 2 of 2

Thread: ExamplePlugin.exe exited with code -1073741515

  1. #1
    Join Date
    May 2012
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Question ExamplePlugin.exe exited with code -1073741515

    Hi,

    I was trying to build a QGIS c++ plugin using Qt and MSVC2008 release on Windows XP. The program starts and then exits without any output- dll file or app.
    The problem seems to be due to missing dll files. Can anyone help me with this problem. Here is the .pro file of my Project.

    TEMPLATE = app
    QT = qt3support gui core xml
    HEADERS = mainwindow.h

    SOURCES = main.cpp \
    mainwindow.cpp


    DEFINES += GUI_EXPORT= CORE_EXPORT=

    ##LIBS += -L"C:\QtSDK\Examples\4.7\tools\plugandpaint\plugins " -lpnp_basictools
    LIBS += -L"F:/Workspace/QGIS/lib" \
    -L"C:/Program Files/Quantum GIS Wroclaw/lib" -lqgis_core -lqgis_gui

    INCLUDEPATH += "F:/Workspace/QGIS/include"\
    "C:/Program Files/Quantum GIS Wroclaw/include"

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: ExamplePlugin.exe exited with code -1073741515

    If the project compiles and links then the problem is not in the PRO file. Run it in your debugger and, when it crashes, the backtrace will tell you which bit of your code triggered the crash.

    The QGIS libraries must be locatable to the running program: either on the system PATH or in the same directory as the exe or DLL that loads them.

Similar Threads

  1. exe exited with code -1073741819
    By bajoelkid12 in forum Newbie
    Replies: 7
    Last Post: 2nd November 2011, 08:05
  2. exe exited with code -1073741819
    By szisziszilvi in forum Newbie
    Replies: 10
    Last Post: 1st September 2011, 16:55
  3. exited with code -1073741511
    By john_god in forum Installation and Deployment
    Replies: 23
    Last Post: 13th June 2011, 15:18
  4. name.exe exited with code 1.
    By Fallen_ in forum Qt Programming
    Replies: 2
    Last Post: 2nd September 2010, 01:17
  5. Qt Creator exited with code -1073741515
    By OverTheOCean in forum Qt Tools
    Replies: 4
    Last Post: 6th April 2010, 13:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.