(C++) Wt with Qt under Qt Creator under Ubuntu

January 25, 2018 · View on GitHub

 

 

 

 

 

(C++) WtQtQt CreatorUbuntu Wt with Qt under Qt Creator under Ubuntu

 

Wt with Qt under Qt Creator under Ubuntu does not compile.

 

 

A more modified version of the code can be found at Wt with Qt under Qt Creator under Lubuntu, which does compile, but results in a runtime error.

 

 

 

 

 

Technical facts

 

Application type(s)

Operating system(s) or programming environment(s)

IDE(s):

Project type:

Compiler(s):

Libraries used:

  • Qt Qt: version 4.7.0 (32 bit)
  • STL STL: GNU ISO C++ Library, version 4.4.5
  • Wt Wt: version 3.1.2

 

 

 

 

 

Qt project file: CppWtWithQt.pro

 


#------------------------------------------------- # # Project created by QtCreator 2010-12-29T21:57:10 # #------------------------------------------------- QT       += core QT       -= gui INCLUDEPATH += lib LIBS += -lwt -lwthttp QMAKE_CXXFLAGS += -DNDEBUG TARGET = CppWtWithQt CONFIG   += console CONFIG   -= app_bundle TEMPLATE = app SOURCES += QtObject.C \     hello.C \     lib/WQApplication.C \     lib/DispatchThread.C HEADERS += \     QtObject.h \     HelloApplication.h \     lib/DispatchThread.h

 

 

 

 

 

HelloApplication.h

 


 

 

 

 

 

QtObject.c

 


 

 

 

 

 

QtObject.h

 


 

 

 

 

 

hello.c

 


 

 

 

 

 

lib/DispatchThread.c

 


 

 

 

 

 

lib/DispatchThread.h

 


 

 

 

 

 

lib/WQApplication.c

 


 

 

 

 

 

lib/WQApplication.h