Results 1 to 4 of 4

Thread: qt and wxWidget

  1. #1
    Join Date
    Jul 2008
    Location
    Munich
    Posts
    73
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question qt and wxWidget

    I am not sure this topic is suitable in this panel.

    I try to integrate a stand-alone application A into anther big project B using Qt. Now I found that A is using wxWidget, not even one qt class. But in its executive location, there are .dll from qt, (QTCORE4.DLL, QTGUI4.DLL, QTNETWORK4.DLL, QTOPENGL4.DLL, QTXML4.DLL).

    Now I am confusing that why there dlls are needed for this application without using any qt classes? Whether it is possible if I want to use qt classes instead?

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: qt and wxWidget

    Look in the link properties of the project.
    If there are any Qt libs specified there, then the project is linking to Qt, of not, you can removed the Qt Dll's.
    As simple as that.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Jul 2008
    Location
    Munich
    Posts
    73
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qt and wxWidget

    Quote Originally Posted by high_flyer View Post
    Look in the link properties of the project.
    If there are any Qt libs specified there, then the project is linking to Qt, of not, you can removed the Qt Dll's.
    As simple as that.
    Yes, I've checked these properties. None of them is using qt lib. And if I remove these DLLs, the binary cannot be executed.

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: qt and wxWidget

    And if I remove these DLLs, the binary cannot be executed.
    So the application does link against Qt, so somewhere in the project Qt libs are being linked, may be there are multiple makefiles or sub projects....
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

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.