Results 1 to 20 of 22

Thread: Lua into Qt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,332
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    317
    Thanked 871 Times in 858 Posts

    Default Re: Lua into Qt

    I haven't seen any working solution
    I refer you to ChrisW67's post #11 in this thread.

    What more do you need? It's a complete example. Copy the code, paste it into files on your PC, make sure your Lua directory matches his, load the .pro file either into Qt Creator (directly) or into Visual Studio (using the Qt VS plugin import capability), compile it, and run it. If you can do that minimal thing (without once again trying to roll your own solution before trying this first), then go to work on modifying that example to do what you actually need to do.

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

    Default Re: Lua into Qt

    Just for the record, I got the Lua binaries I show from the Lua web site in precompiled form.
    http://sourceforge.net/projects/luab...aries/Dynamic/
    You will need to match the Microsoft compiler version and bit-ness if you use these.
    If you compile your own then the paths may be different but the result the same.

    I do not have VS and plugin or I would spell it it out from that perspective.

  3. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,332
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    317
    Thanked 871 Times in 858 Posts

    Default Re: Lua into Qt

    I do not have VS and plugin or I would spell it it out from that perspective.
    Given the .pro file you posted, the Qt plugin for VS will import it and create a working VS project file just fine. One almost never hand-edits a VS project file; it's always done through the GUI.

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.