免编译解压即用qt-everywhere-opensource-src-4.8.5Ubuntu版


该Qt4.8.5是本人亲自按照友善之臂开发板给出的方法编译而成,功能齐全,最最保守,适合Ubuntu10.04,目测适合所有Linux系统。只需解压到根目录下即可完美使用。与之配套的免编译版Qt4.8.5-arm本人亦会上传,同样是解压即用。
资源截图
代码片段和文件信息
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or alternatively in accordance with the terms contained in
** a written agreement between you and Digia.  For licensing terms and
** conditions see http://qt.digia.com/licensing.  For further information
** use the contact form at http://qt.digia.com/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition as a special exception Digia gives you certain additional
** rights.  These rights are described in the Digia Qt LGPL Exception
** version 1.1 included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
**
** $QT_END_LICENSE$
**
****************************************************************************/

#include “xform.h“

#include 

int main(int argc char **argv)
{
    Q_INIT_RESOURCE(affine);

    QApplication app(argc argv);

    XFormWidget xformWidget(0);
    Qstyle *arthurstyle = new Arthurstyle();
    xformWidget.setstyle(arthurstyle);

    QList widgets = xformWidget.findChildren();
    foreach (QWidget *w widgets) {
        w->setstyle(arthurstyle);
        w->setAttribute(Qt::WA_AcceptTouchEvents);
    }

    xformWidget.show();

    return app.exec();
}

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)