Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QGLFormat Accumulation Buffer
Forum Updated to NodeBB v4.3 + New Features

QGLFormat Accumulation Buffer

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Prometheus
    wrote on last edited by
    #1

    Hi, I'm trying to develop a simple OpenGL Editor using Qt but I've got one problem. No matter what I do, the format of my GLWidget has always the accumulation buffer active and set at 64.
    Here's how I instantiate my GLWidget:

    @MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
    {
    ui->setupUi(this);
    QGLFormat format;
    format.setAccum(false);
    format.setDoubleBuffer(false);
    glCanvas = new GLWidget(format);

    ui->mainLayout->addWidget(glCanvas);
    

    }

    MainWindow::~MainWindow()
    {
    delete ui;
    }
    @

    Can anybody help me to solve this problem?
    Thanks in advance.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Prometheus
      wrote on last edited by
      #2

      If this is the support of Qt community, I think I should port my project to another toolkit. Thanks anyway.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        Sorry, but there seems to be a misunderstanding: This forum allows to communicate with other Qt users (with a lot of them happening to be trolls). It is not a support site per se. I (and the other trolls) am not payed to do support here. We just like our product and try to help our users in our spare time.

        Providing more information might help you to get better results next time: What kind of environment are you using (OS, kind of GL drivers, etc.)? A working example is the best way to get help: People here are curious and tend to play with everything that looks remotely like it could actually get turned into an executable with a reasonable amount of work.

        I hope you will enjoy your GL programming (using Qt or whatever toolkit you end up using)!

        PS: If you need a dedicated support team then you can always consider using a different type of Qt license. More information on this is available here "here":http://shop.qt.nokia.com/.

        Best Regards,
        Tobias

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved