Results 1 to 4 of 4

Thread: Use wxWidget variables

  1. #1
    Join Date
    Jun 2010
    Posts
    100
    Thanks
    13
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Use wxWidget variables

    Hi all!

    Can I use wxWidget variables and if yes how?? I need to use it to convert a date variable that I get from a machine and the company who wrote the code uses a wxDateTime variable.

    Thanks

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Use wxWidget variables

    Sure you can, just like any other C++ library. #include the header and add any appropriate libs to your .pro file.

  3. #3
    Join Date
    Jun 2010
    Posts
    100
    Thanks
    13
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Use wxWidget variables

    Quote Originally Posted by squidge View Post
    Sure you can, just like any other C++ library. #include the header and add any appropriate libs to your .pro file.
    I have downloaded the version 2.9.1 and installed at "C:\wxWidgets-2.9.1\include\wx".

    I tried to include in my project paths and also on my .pro file but when I include the datetime.h it tell me that it wasn't found even when I see the file at the autocomplition.

    How do I include it?

    I tried this way on the .pro:
    LIBS += -L"C:\wxWidgets-2.9.1\include\wx"

  4. #4
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Use wxWidget variables

    use INCLUDEPATH +=

Similar Threads

  1. Replies: 0
    Last Post: 23rd April 2010, 17:25
  2. how to use lib and include wxwidget in QTcreator
    By nhs_0702 in forum Qt Programming
    Replies: 1
    Last Post: 16th April 2010, 10:48
  3. qt and wxWidget
    By stella1016 in forum Qt Programming
    Replies: 3
    Last Post: 16th November 2009, 10:35
  4. environmental variables
    By mohanakrishnan in forum Newbie
    Replies: 4
    Last Post: 26th October 2009, 09:43
  5. Qt and global variables
    By Morea in forum Qt Programming
    Replies: 11
    Last Post: 1st February 2007, 23:42

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.