Results 1 to 5 of 5

Thread: Qt 4 commercial with Visual C++ 2005 Express Edition: Works half, debug fails

  1. #1
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Qt 4 commercial with Visual C++ 2005 Express Edition: Works half, debug fails

    I do have access to a commercial Qt version and did some tests with Microsoft Visual C++ 2005 Express Edition. I know that this is not a supported environment.

    There is a note at Microsofts Website how to create Win32-executables with it:

    http://msdn2.microsoft.com/en-us/library/ms235626.aspx

    I succeded compiling an application in release mode whereas an executable with debug libraries refuses to start.

    Here's the error message when compiling using debug libraries:

    It says: The entry point for ?<whatever> was not found in the DLL "QtCored4.dll".

    Has anyone an idea how to get debug builds run as well as release builds?
    Attached Images Attached Images
    It's nice to be important but it's more important to be nice.

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4 commercial with Visual C++ 2005 Express Edition: Works half, debug fails

    I only use VC8 Express and never had such a problem. Did you rebuild Qt with msvc2005 Express - maybe it's not possible to use qt-dll build with another msvc compiler? Did you take a look if QtCored.dll exports this function with pexports.exe (or any other tool which could show you the exports)?

    /edit:
    QEventDispatcherWin32::closingDown() is new in 4.1.4 - is your debug lib out of date?
    Last edited by ChristianEhrlicher; 28th June 2006 at 07:37.

  3. The following user says thank you to ChristianEhrlicher for this useful post:

    axeljaeger (29th June 2006)

  4. #3
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Qt 4 commercial with Visual C++ 2005 Express Edition: Works half, debug fails

    You use Qt together with VC 8 Express without the the plattform SDK? No, I did not build Qt using this compiler. I used the Qt 4.1.3-VC-2005 package from Trolltech.

    I will do the checks suggested by you this afternoon.

    @edit:
    Very interesting.

    Edit: Looks like you are familiar with VC 2005. I have a few other question that raised during testing:

    - Did you manage to get the integration work?
    - Do you know a way to have classic #ifdef CLASSNAME inserted into a new class instead of #pragma once?
    - Do you know how to get a class diagramm? I think this is neccessary to insert a member to a class using the GUI. Some resources on the internet say that this is not possible using express, others do.

    Thanks a lot.

    Axel
    Last edited by axeljaeger; 28th June 2006 at 10:55.
    It's nice to be important but it's more important to be nice.

  5. #4
    Join Date
    Jul 2006
    Posts
    25
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4 commercial with Visual C++ 2005 Express Edition: Works half, debug fails

    Hello All,
    I am very green when it comes to QT and coding in general.

    I will be installing QT from the book C++ GUI Programming with Qt 4 and in conjunction with Visual C++ 2005 Express Edition that I picked up from MS website.

    QT states below that QT can be integrated with Visual Studio and they don't mention Express editions.

    What kind of problems will I encounter?
    Where is a place to go to help me solve the problems that I am likely to see when I try to run QT 4 with Visual C++ 2005 Express Edition?

    Thanks in advance

    From TrollTech Website
    Now with Qt 4, Qt is seamlessly integrated with Microsoft Visual Studio, enabling Windows developers to leverage their existing skills to natively target multiple platforms from within a familiar environment.

  6. #5
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4 commercial with Visual C++ 2005 Express Edition: Works half, debug fails

    Afaik the integration is only for the commercial version.

    @Axeljaeger
    I don't use the commercial version and therefore can't use the integration.

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.