QT SDK Demo 编译问题

chenlei posted @ 2011年11月11日 16:50 in Qt学习笔记 with tags private/qpixmapdata_p.h qpixmapdata_p.h , 5167 阅读

今天,编译了一下Qt SDK 的Demos,出现了如下错误:

1、qgl.h:   #include <GL/gl.h>:GL/gl.h:No such file.

在QOpenGL下我可以找到qgl.h,这里面有#include <GL/gl.h>,但是我们找不到gl.h文件。实际上gl.h是X11的库中的头文件,所以解决方法就是安装X11:

sudo apt-get install build-essential debian-keyring freeglut3-dev

2、private/qpixmapdata_p.h: No such file or directory.

在编译Demo时,得先编译shared。在arthurwidgets.cpp中有这样个头文件--#include <private/qpixmapdata_p.h>,找不到它的位置,在网上也没有找到解决的方法。后来好不容易,在找了,/opt/QtSDK/Simulator/Qt/gcc/include/QtGui中找到了亲爱的private/qpixmapdata_p.h,于是当机立断,cp到/opt/QtSDK/Desktop/Qt/474/gcc/include/QtGui,编译一下,成了。

  • 无匹配
  • 无匹配
Avatar_small
maid services dubai 说:
2019年9月14日 16:10

Designed for larger jobs as an apartment advanced, a full complex, an office space, a lodging, or a major leasing town, a part-time cleaning service tends in arrangement. Janitorial services will be much more inexpensive than developing an in-house purifier. Plus, you'll find a warrant from a good number of cleaning companies plus proof in insurance.

Avatar_small
cleantechlaws.com 说:
2019年11月14日 00:45

Technology will surely be safe concerning preschool degree; it could also be a court case of an excessive amount of a positive thing. Ideally, screen-based technology get hold of should end up but one of several methods in instruction for children,

Avatar_small
dui lawyer montreal 说:
2020年3月19日 20:48

Regulations of Interest has received significant amounts of media attention lately. Thanks for the movie The trick and the following explosion regarding television, art print media and also internet insurance coverage, nearly every person in American society provides heard the particular phrase "Law regarding Attraction".

Avatar_small
wendy wood law 说:
2020年3月19日 20:49

If we could accept that most possibilities exist in today's moment and also remain focused inside the Now regarding life, consciously enabling the Regulations of Living to openly operate by means of us, we might soon observe that we come in a co-created planet which we've personal duty for delivering into lifestyle.

Avatar_small
star lite shopping m 说:
2020年3月19日 20:49

This is probably the most confusing Laws regarding Life as a result of belief that most events are usually predestined to be able to transpire because of some earlier action. It really is true from your standpoint regarding action-reaction in which expectations regarding future activities should arrive at fruition when no choice adjustments are manufactured, simply as the root result in was set in place.

Avatar_small
shopping batalha 说:
2020年3月19日 20:50

Whether you might be shopping regarding food, wine beverages, clothing, or whatever else, British Columbia provides many of items that can suit anyone's likes. Since BC can be a large state, often called the "sunshine coast", it also is just about the most culturally different places you will discover on earth.

Avatar_small
elimperio travel 说:
2020年3月19日 20:50

Traveling is a fantastic hobby for thousands of people across the planet. This furthermore provides different advantages to be able to people. Here's exactly why traveling is very important.

Avatar_small
full time maids in d 说:
2020年4月28日 19:35

For anyone who is recruiting servant maid with the agency, look at its consistency, referrals connected with current buyers, about the maid's insurance coverage, how long there're doing ebay etc. Ask whether or not they guarantee the servants and whether or not they performed any criminal history checks on the maids.

Avatar_small
painting company in 说:
2020年4月28日 19:35

In contrast, if you choosed to go additional route in addition to hire household painters; you're not required to help lift 1 finger. Professionals will work the meet your needs exactly, of course providing you pay these individuals considerably. Painters will be sure that everything is finished according for your requirements and needs.

Avatar_small
part time maids in d 说:
2021年6月07日 13:03

The best quality and most appropriate way to address house housecleaning is just by acknowledging lots of the aspects. Starting right from implementing a good equipment and tools to aided by the right housecleaning approach, you need to know every area of cleaning. For that reason, here certainly is the list about cleaning essentials you have to focus relating to for effective home cleaning.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter