2014-11-23 42 views
0

好了我要去發佈了一系列的照片,我注意到,對他們一些紅色註釋:我的小,小程序有問題(的Ubuntu 14.04,QT5,代碼::塊)

圖1:我的主的.cpp

My Main.cpp

圖2:在Ubuntu

Qt5.3指南

Qt5.3 Directory on Ubuntu

圖片3:其他包括在代碼:: Blocks的目錄

Additional include directories on Code::Blocks

圖4:鏈接目錄我將在代碼:: Blocks的

Linker Directory i’ve included on Code::Blocks

圖5:鏈接庫我指向

Linker Libraries i point to

圖6:其他一些選項

Some other options

圖片7:和錯誤我得到當我最終運行程序

the error i am getting when i finally run the program

這是第一次我'試圖進入QT5在Ubuntu和我需要使用Code :: Blocks, ,因爲這是我最支持QtCreator的情況下使用的IDE。我知道它的 功能強大,但我將只用於某些部分的Qt5,而不是整個項目將基於Qt5。有沒有什麼好的關於Qt5和Linux的教程 - 介紹?

回答

1

根據錯誤信息我相信錯誤的來源是錯過Qt5Widget庫的鏈接器設置。

+0

就是這樣。我感到傾倒。 – 2014-11-23 18:07:00