Hi Lykurg,
Linking fails both in debug and release mode. I have built Qt statically both for release and debug mode.
QtCreator makes my .pro file, and Qt core and gui are included. I just added stuff to use QextSerialPort (which is working by the way, so that's not the issue). I would be surprised if I had to manually add an extra LIB just to use a QTableWidget.
QT += core gui
TARGET = DibScan
TEMPLATE = app
SOURCES += main.cpp\
mainDialog.cpp
HEADERS += mainDialog.h
FORMS += mainDialog.ui
INCLUDEPATH += ".\include"
LIBS += -lqextserialport
win32:DEFINES = _TTY_WIN_ QWT_DLL QT_DLL
QT += core gui
TARGET = DibScan
TEMPLATE = app
SOURCES += main.cpp\
mainDialog.cpp
HEADERS += mainDialog.h
FORMS += mainDialog.ui
INCLUDEPATH += ".\include"
LIBS += -lqextserialport
win32:DEFINES = _TTY_WIN_ QWT_DLL QT_DLL
To copy to clipboard, switch view to plain text mode
I don't see why the QTableWidgetItem::setText() function is no problem, but the text() function is. It should be in the same source file in Qt I would think.
Best regards,
Marc
Bookmarks