I couldn't find where I can use .pro file in Visual Studio (It creates .pro file, but then no using it).
So I tried to do it with Qt Creator. Qt finds libraries,
TEMPLATE = app
TARGET = newluaQt
DESTDIR = ../Win32/Debug
QT += core widgets gui
CONFIG += debug
LIBS += -L"$$_PRO_FILE_PWD_/lua/" -llua5.3.0
DEFINES += WIN64 QT_DLL QT_WIDGETS_LIB
INCLUDEPATH += ./GeneratedFiles \
. \
./GeneratedFiles/Debug \
./lua
DEPENDPATH += .
MOC_DIR += ./GeneratedFiles/debug
OBJECTS_DIR += debug
UI_DIR += ./GeneratedFiles
RCC_DIR += ./GeneratedFiles
include(newluaQt.pri)
TEMPLATE = app
TARGET = newluaQt
DESTDIR = ../Win32/Debug
QT += core widgets gui
CONFIG += debug
LIBS += -L"$$_PRO_FILE_PWD_/lua/" -llua5.3.0
DEFINES += WIN64 QT_DLL QT_WIDGETS_LIB
INCLUDEPATH += ./GeneratedFiles \
. \
./GeneratedFiles/Debug \
./lua
DEPENDPATH += .
MOC_DIR += ./GeneratedFiles/debug
OBJECTS_DIR += debug
UI_DIR += ./GeneratedFiles
RCC_DIR += ./GeneratedFiles
include(newluaQt.pri)
To copy to clipboard, switch view to plain text mode
How do i realise: I tried to launch with "-llua5.3" for example. And Qt said me "Can't find lua5.3 lib", then I tried "-llua5.3.0" and Qt said me again about my linker error. How can I fix it? I'm already trying to solve it by a couple of weeks
Bookmarks