Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. qt 4.8.5
    Log in to post
    • All categories
    • samapollo

      Unsolved Building App on Qt 4.8.5 - Missing Directories or Qt Cannot find them
      General and Desktop • qt 4.8.5 arm opengl • • samapollo

      19
      0
      Votes
      19
      Posts
      4548
      Views

      SGaist

      You have an error in your .pro file. Right after the QT += opengl line you have QT = core gui which resets the content of the variable to core gui. That's why you can't get the OpenGL module.

    • R

      Unsolved Is changing a QWizard into a QStackedWidget the best option?
      General and Desktop • qt 4.8.5 qt 4.8 qwizard qstackedwidget • • roseicollis

      12
      0
      Votes
      12
      Posts
      4213
      Views

      mrjj

      Hi
      Main windows is a bit special since it has "central widget".
      which there to allow to define areas around it
      for Dock windows. That is why we insert widget first.
      For all types of other widget we would insert directly.

      QWidget* centralWidget = new QWidget();
      QVBoxLayout *layout = new QVBoxLayout;
      centralWidget->setLayout(layout);
      layout->addWidget(st);
      setCentralWidget(centralWidget);

      seems fine.
      For centralWidget , u can then use the Stacked.

      My mainWindow code actually looks like:

      MainWindow::MainWindow(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::MainWindow)
      {

      setLayout(layout);
      // that sets directly on mainwin. not sure it does what we think.

      You can just single step and see the values to find out why u crash.
      Sorry, i cant spot it. Running it helps.
      I think u need a setCentral also.

      That is the reason no 2 to why i like
      UI file so much. no crashing as u can only insert legally when visually :)
      And no code to try to spot bugs in.

      I think u need
      new widget
      widget as central
      new layout
      layout to widget
      inset stacked to that layout
      and then the page stuff

    • MarceloGomez

      Unsolved I need Freelancer
      Jobs • qt 4.8.5 c++ linux yocto opengl es2.0 • • MarceloGomez

      9
      0
      Votes
      9
      Posts
      3481
      Views

      Sergey91

      @MarceloGomez my skype is nostrik7180 . Can we discuss about your project ?

    • R

      Solved My program doesn't show up in my enterprise device while in pc does
      General and Desktop • qwizardpage devices qt 4.8.5 • • roseicollis

      23
      0
      Votes
      23
      Posts
      5137
      Views

      R

      @kshegunov I know I know ^^and normally I don't pay much attention to this but.. this time wanted to point it out... dunno why hahahaso as I said np and code happily!! :D

    • R

      Unsolved How can I pass data of QComboBox between classes?
      General and Desktop • qt 4.8.5 qcombobox • • roseicollis

      6
      0
      Votes
      6
      Posts
      2050
      Views

      SGaist

      Yes, it's clearer.

      In that case I'd create a subclass of QComboBox with a property that would return content of data.

    • R

      Unsolved How can I make my program 'weight' less
      General and Desktop • qt 4.8.5 system • • roseicollis

      20
      0
      Votes
      20
      Posts
      3682
      Views

      jsulm

      @roseicollis To avoid "Configuration unchanged" just rebuild your project

    • W

      Getting stuck with “segmentation fault” in Qt while using Qt creator to create a very simple project
      General and Desktop • qtcreator qt 4.8.5 segmentation fa • • walkerlala

      10
      0
      Votes
      10
      Posts
      5227
      Views

      R

      That was my point. Your sample program that was posted won't compile so it is not possible to see the problem with your compiled version (it must be different).

      You can only manipulate the instance of a class/structure/object. You cannot call any (non-static) members of QLabel directly.

      I would be surprised if this example doesn't work:

      #include<QLabel> int main(int argc,char* argv[]) { QApplication app(argc,argv); QLabel *label=new QLabel; label->setText("Hello world"); label->show(); return app.exec(); }
    • A

      [SOLVED] How to add qt-gfx-transformed driver/plugin to Qt for Embedded 4.8.5 project
      Mobile and Embedded • yocto bitbake qt embedded qt 4.8.5 • • admd91

      2
      0
      Votes
      2
      Posts
      1949
      Views

      A

      I finally got to solve this by myself. I only had to add 'libqgfxtransformed.so' to my target's /usr/lib/qtopia/plugins/gfxdrivers folder. I then ran my app using the '-qws -display transformed:rot90' switch and I got my rotation done!