Results 1 to 20 of 22

Thread: Lua into Qt

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #17
    Join Date
    Oct 2009
    Posts
    483
    Thanked 97 Times in 94 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Lua into Qt

    Try to break down the problem into smaller ones:
    1. Get some project to compile and link with Lua. In order to do that, just pick ChrisW67's minimal example, and build it like you do usually, e.g. with qmake and make.
    2. Get some project to compile and link with Lua within Visual Studio. Import ChrisW67's minimal example in Visual Studio and try to build it.
    3. Get your own project to compile and link with Lua within Visual Studio. One possibility is to start with ChrisW67's minimal example and edit the .pro file. I can already see two potential issues with your last attempt: you wrote a .pri file, unlike ChrisW67 who wrote a .pro file. You forgot the TEMPLATE and TARGET clauses in your project file.

    How far you get on this list will hint at the root cause of your problem. And remember: when someone posts a minimal, working solution, please at least try it to rule out installation/configuration/PEBKAC causes. Ignoring valuable input will not get you anywhere on this forum.

  2. The following user says thank you to yeye_olive for this useful post:

    d_stranz (18th June 2015)

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.