Desinger是linux下的QT界面设计工具,在命令行下直接输入designer即可进行界面的设计工作。

  Desinger保存的文件类型是ui,可以使用命令将*.ui文件转换成*.h文件和*.cpp文件。

  uic –o test.h test.ui
  uic –o test.cpp –i test.h test.ui

  之后,再加入main.cpp,包含"test.h"文件,加入自己需要的代码,OK。

 

  再告诉大家一个关于QT(API)的查询网址:http://doc.trolltech.com/3.3/index.html。

相关文章:

  • 2021-11-28
  • 2022-12-23
  • 2021-08-06
  • 2021-05-30
  • 2022-12-23
  • 2021-05-28
  • 2021-04-23
  • 2022-02-07
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
  • 2021-07-15
相关资源
相似解决方案