使用bcc32做在windowXP上qt3.2.1編譯環境的配置

來源:互聯網
上載者:User

標籤:jpg   根目錄   .cpp   clu   make   save   es2017   pread   cpp   

1.安裝borland C++編譯器,編譯器檔案所在目錄下的檔案如下:

其中bcc32.cfg和ilink32.cfg檔案是自己加進去的,bcc32.cfg內容是
-I"C:\Borland\BCC55\Include"
-L"C:\Borland\BCC55\Lib"

ilink32.cfg檔案內容是
-L"C:\Borland\BCC55\Lib"
2、在windows的環境變數中加入“C:\Borland\BCC55\Bin”

3、安裝qt運行相關檔案

4、命令列中改變目前的目錄到項目根目錄,輸入qmake myproject.pro產生此項目的Makefile檔案,再輸入make就會產生可執行檔。如果沒有.pro檔案可以自己寫,一個SPREADSHEET.PRO(項目所有檔案和這個檔案在同一目錄下)如下:
CONFIG       += exceptions
HEADERS       = cell.h \
                finddialog.h \
                mainwindow.h \
                spreadsheet.h
SOURCES       = cell.cpp \
                finddialog.cpp \
                main.cpp \
                mainwindow.cpp \
                spreadsheet.cpp
FORMS         = gotocelldialog.ui \
                sortdialog.ui
IMAGES        = images/icon.png \
                images/new.png \
                images/open.png \
                images/save.png \
                images/cut.png \
                images/copy.png \
                images/paste.png \
                images/delete.png \
                images/find.png \
                images/gotocell.png

http://blog.163.com/[email protected]/blog/static/351665012008113192930960/

 

注意:

把它 http://img.blog.163.com/photo/ycjYmMytB-5HpIkhelh9ow==/4016084967708767157.jpg
改成 http://img0.bimg.126.net/photo/ycjYmMytB-5HpIkhelh9ow==/4016084967708767157.jpg

把它 http://img.blog.163.com/photo/S9Ty_lU9I7XsAw2tSRYw_Q==/3675218770912004634.jpg
改成 http://img0.bimg.126.net/photo/S9Ty_lU9I7XsAw2tSRYw_Q==/3675218770912004634.jpg

 

使用bcc32做在windowXP上qt3.2.1編譯環境的配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.