2011年3月25日 星期五

NetBeans+Qt

  1. install NetBeans 6.9.1-cpp
  2. download Qt library 4.7.2 and MinGW
  3. install Qt
  4. unzip mingw.zip to c:\Qt
  5. open c:/Qt/4.7.2/mkspecs/default/qmake.conf
  6. replace $${DIR_SEPARATOR} as/
  7. run NetBeans
  8. Tool->Options->c/c++->add
  9. Browser->c:\Qt\mingw\bin->ok
  10. QMake Command->c:\Qt\4.7.2\bin\qmake.exe
  11. File->New Project->Sample->C/C++->Hello Qt World
  12. File->Project Properties->Run->Configuration->All Configuration
  13. Environment->Path:C:\Qt\4.7.2\bin
  14. now run it





沒有留言: