Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. qt5.4
    Log in to post

    • UNSOLVED Reset chart to original position after moving/zoom
      General and Desktop • qt5.4 qtchart • • Moein_v  

      1
      0
      Votes
      1
      Posts
      126
      Views

      No one has replied

    • UNSOLVED Qt: “ResizeEvent” to receive the size of the window and set it to the size of a QLabel
      General and Desktop • c++ qtcreator qt5.4 qt5.6 c++ qt • • hassene  

      4
      0
      Votes
      4
      Posts
      1294
      Views

      @hassene Hi and welcome Is there a reason you simply dont use a layout ? To make it autofollow the size of window ? if you place a QLabel on a form ( mainwindow.ui) , right click somewhere on empty form, and select Layout menu and select layout, the label will follow maniform. https://doc.qt.io/qt-5.10/examples-layouts.html
    • UNSOLVED QPushButton does not respond when first time click?
      General and Desktop • qt5.4 • • Davidcheng  

      4
      0
      Votes
      4
      Posts
      994
      Views

      Ah, i see from your deleted post what you say. When QListWidget is clicked first time, it receives focus When you then click a button, that button is now given focus. Focus is not the same as selected for QListWidget.- one or more item can be selected. You can try qDebug() << ui->listWidget->currentItem()->text(); in button.
    • UNSOLVED qt 5 problem in building with visual studio 2015
      Installation and Deployment • qt5.4 visual studio qtwebkit build qt qtscript • • userprogrammer  

      3
      0
      Votes
      3
      Posts
      1927
      Views

      Also note that Qt 5.4 was released before VS2015 came out, you should use at least Qt 5.6 with this compiler
    • SOLVED HOW TO CONNECT SCROLL BAR TO WIDGET
      General and Desktop • qt5.4 scroll bar widget resize technology m4rzb4ni • • M4RZB4Ni  

      8
      0
      Votes
      8
      Posts
      5443
      Views

      @M4RZB4Ni Hi its all in here http://doc.qt.io/qt-5/qscrollbar.html#details But connecting to a random widget will do nothing. IF u have this case, user click on Tab In tab there are many widget so he need to scroll to see last of them, then u just use a scroll area and put all stuff inside. then it will just work. ScrollArea have scrollbars. U can control if both horz and vert or just horz.
    • UNSOLVED Handling QInputMethodEvent
      General and Desktop • qt5.4 event line edit inputmethod japanese • • DivyPrakash  

      1
      0
      Votes
      1
      Posts
      806
      Views

      No one has replied

    • SOLVED Why is moc so slow when moving from qt 5.4 to qt 5.6?
      General and Desktop • qt5.4 qt5.6 moc windows7 64bit • • Jakob  

      7
      0
      Votes
      7
      Posts
      3659
      Views

      @SGaist So, last week our integrator had a moment of lucidity, and realized that we were actually using a debug-version of moc.exe instead of a release-build........... I did a quick test with a release build of moc.exe, which took the exact same measurement I mentioned above back to 1m10s, so indeed faster than with the 5.4-version, as you expected.
    • UNSOLVED regarding regarding approach using QTreeView and QTreeWidget of QT
      General and Desktop • qt5.4 • • Qt Enthusiast  

      4
      0
      Votes
      4
      Posts
      1207
      Views

      If you have the need to show tabular data on two columns then yes QTableView is the right tool. After that, what kind of model will you be using ? How much data will be shown ? Depending on that QTableWidget might be enough.
    • UNSOLVED Qt5.4 + EGLFS on BeagBone Black
      Mobile and Embedded • qt5.4 • • titan83  

      3
      0
      Votes
      3
      Posts
      1681
      Views

      Hi, After digging the issue, the cause was related with permission in folder /dev/galcore (in my case, galcore is the Vivante GPU driver). To test the solution, you could change the owner of the folder as below: sudo chown -R username:group /dev/galcore To obtain the root cause, you could perform the following test: strace yourapp -platform eglfs ... open("/dev/galcore", O_RDWR) = -1 EACCES (Permission denied) open("/dev/graphics/galcore", O_RDWR) = -1 ENOENT (No such file or directory) --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xd4} --- +++ killed by SIGSEGV +++ Segmentation fault Julio
    • SOLVED Does Qt5 have a framework for logging user actions?
      General and Desktop • windows qt5.4 desktop framework logging • • Jakob  

      5
      0
      Votes
      5
      Posts
      2464
      Views

      Since the obvious answer to the question is a resounding 'no', I'll mark this question as 'solved', although I'll still have to think about a way to achieve what we want in the most convenient way.
    • QT VLC-QT
      3rd Party Software • c++ windows qt5.4 vlc-qt • • joylamb  

      4
      0
      Votes
      4
      Posts
      2199
      Views

      Do a small search on the forum, there was already a thread about Qt-VLC last week that might help you.
    • How can I implement Record Start and Record Stop feature in my QT application "Video player"?
      General and Desktop • qt creator qt5.4 qtmultimedia qt 5.4.1 qt application • • Sajad Manal  

      4
      0
      Votes
      4
      Posts
      1784
      Views

      I've checked, there's currently no option to do it directly with Qt Multimedia. You might want to check the QtAV project.
    • How to create .pro file in Visual Studio 2013 using Qt-Add-in
      Mobile and Embedded • qt5.4 visual studio pro file • • MarKS  

      1
      0
      Votes
      1
      Posts
      1000
      Views

      No one has replied

    • Can't type any text into my QLineEdit in dialog showing by exec().
      Mobile and Embedded • ios widget qt5.4 creator • • mkdh  

      1
      0
      Votes
      1
      Posts
      847
      Views

      No one has replied

    • How to get the property value form the widget created by ShowNormal() method
      Mobile and Embedded • ios widget qt5.4 creator • • mkdh  

      10
      0
      Votes
      10
      Posts
      3064
      Views

      @jsulm I add a button even as below. void Dialog::on_pushButton_clicked() { SubView *QQ=new SubView(this); QQ->setModal(true); QQ->setEnabled(true); QQ->showNormal(); } Then, I put a QEditline on the subview . Of course, subview is a class inherited from the dialog. This is a very simple code. Or You can try this https://github.com/mkdh/QEditlineOnNewWidgetiOS
    • I've set the includepath to QtCore in pro file but that doesn't work and includes still give error
      General and Desktop • c++ qtcreator windows qmake qt5.4 qtcore includepath pro • • carlos91moreira  

      4
      0
      Votes
      4
      Posts
      2549
      Views

      Easy: just edit the thread title and prepend [solved] :)
    • No antialiasing with QPainter on iOS. Is it STILL A BUG in Qt?
      Mobile and Embedded • ios widget qt5.4 creator • • mkdh  

      2
      0
      Votes
      2
      Posts
      1272
      Views

      Did you try setting antyaliassing? http://doc.qt.io/qt-5/qpainter.html#setRenderHint
    • How to implement the special gesture event in widget
      Mobile and Embedded • android ios widget qt5.4 creator • • mkdh  

      1
      0
      Votes
      1
      Posts
      626
      Views

      No one has replied

    • Nueva Ayuda con QGestureRecognizer
      Spanish • qtcreator qt5.4 qgesturerecogni • • Karen Zurutuza  

      3
      0
      Votes
      3
      Posts
      1068
      Views

      @juanki Gracias!
    • Problem creating a new custom gesture
      General and Desktop • qtcreator qt5.4 gesture qgesturerecogni • • Karen Zurutuza  

      10
      0
      Votes
      10
      Posts
      3378
      Views

      Can you show your class and its implementation ?
    • Qwebkit links with .org do not work - SOLVED
      Qt WebKit • qt5.4 qwebkit qwebpage windows desktop • • UKBasedUser  

      4
      0
      Votes
      4
      Posts
      1774
      Views

      Solved from https://forum.qt.io/topic/17139/solved-how-to-use-ssl-support-without-manualy-building-qt-libraries/6 added CONFIG += openssl-linked copied from the QtSdk the (MingW) libeay32.dll and ssleay32.dll in the same folder as the executable
    • Access to Widget created in Designer
      General and Desktop • qt5 opengl qt creator qt5.5 qt5.4 designer • • aidoru  

      5
      0
      Votes
      5
      Posts
      3375
      Views

      Thank you very much Chris
    • QJsonDocument error!!!
      General and Desktop • qt5.4 json parser • • DidaHarp  

      4
      0
      Votes
      4
      Posts
      1527
      Views

      @Joel-Bodenmann Alright.
    • Integrate QT 5.4 in visual studio 2012
      General and Desktop • qtcreator qt5.4 visual studio • • Daniel_C  

      1
      0
      Votes
      1
      Posts
      736
      Views

      No one has replied

    • How to install qt 5.4.1 on ubuntu 10.04LTS?
      General and Desktop • qtcreator qt5 qt5.4 qt 5.4.1 • • Sajad Manal  

      5
      0
      Votes
      5
      Posts
      2887
      Views

      @SGaist Thanks, its done :) @mrjj @Eyeless
    • The problem of QtCreator on win
      General and Desktop • qtcreator qt5.4 c++11 msvc13 • • jack9603301  

      23
      0
      Votes
      23
      Posts
      9122
      Views

      @SGaist No warning from the setup interface, now use the MinGW are all normal
    • How to set background for qgraphicsscene ?
      General and Desktop • qgraphicsview qgraphicsscene qt5.4 • • happyRoll  

      2
      0
      Votes
      2
      Posts
      3927
      Views

      scene = new QGraphicsScene(20, 115, 600, 600,this); scene->setItemIndexMethod(QGraphicsScene::NoIndex); canvas = new CanvasItem(this); scene->addItem(canvas); graphicsView = new QGraphicsView(this); graphicsView->setObjectName(QStringLiteral("graphicsView")); graphicsView->setGeometry(QRect(20, 115, 600, 600)); graphicsView->setMouseTracking(true); graphicsView->setScene(scene); QSizePolicy sizePolicy0 (QSizePolicy::Fixed, QSizePolicy::Fixed); sizePolicy0.setHorizontalStretch(0); sizePolicy0.setVerticalStretch(0); graphicsView->setSizePolicy(sizePolicy0); graphicsView->setFrameStyle(QFrame::Panel | QFrame::Raised); [QGraphicsView with QPixMap Background](https://forum.qt.io/topic/6313/qgraphicsview-with-qpixmap-background/4) According this post, I use QgraphicsView::setStyleSheet() to set background, It‘s still useless. but I comment this statement which "scene->addItem(canvas);", It's work. //class CanvasItem :public QObject, public QGraphicsItem
    • wrong connected line with multi-touch in iOS using my code
      Mobile and Embedded • ios widget qt5.4 creator • • mkdh  

      1
      0
      Votes
      1
      Posts
      778
      Views

      No one has replied

    • Qt headers in IOS Xcode project. Linking Qt libs.
      Mobile and Embedded • qt5 ios qt5.5 qt5.4 macosx xcode link • • A Former User  

      4
      0
      Votes
      4
      Posts
      2100
      Views

      I'd generate the Xcode project from a .pro file, that way you have everything setup for you
    • QSqlQueryModel shows empty table with correct headers.
      General and Desktop • sql qt5.4 qsqlquery qsqlquerymodel odbc • • Charlie42  

      1
      0
      Votes
      1
      Posts
      807
      Views

      No one has replied

    • SOLVED Setting the app-icon on iOS
      Mobile and Embedded • ios widget qt5.4 creator • • mkdh  

      4
      0
      Votes
      4
      Posts
      3800
      Views

      first you just have to build project from Qt and then open output file.xcodeproj from Xcode https://www.youtube.com/watch?v=OQN_AwcF0GU here is a video how to set application icon using Xcode i hope it helps
    • Build Qt 5.4.2
      General and Desktop • qt5.4 build qt5.4.2 • • A Former User  

      2
      0
      Votes
      2
      Posts
      1044
      Views

      @LFLserg said: When I try to build Qt 5.4.2 after ./init-repository It says that qtactiveqt.git has no such branch! So i checkout to 5.4. Is there a way to build 5.4.2? Check out the tag called "v5.4.2". See http://code.qt.io/cgit/qt/qtactiveqt.git
    • no reaction at the first touch on the new form from doubleclick on a listview
      Mobile and Embedded • android ios qt5.4 • • mkdh  

      2
      0
      Votes
      2
      Posts
      972
      Views

      what different between clicked and doubleClicked? In doubleClicked case, I can't press the button before touching the screen on my new widget. connect(ui->lvwFile, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(on_btnOK_clicked())); In clicked case, I can press the button before touching the screen on my new widget. connect(ui->lvwFile, SIGNAL(clicked(QModelIndex)), this, SLOT(on_btnOK_clicked())); But, I want to use doubleClicked....
    • [SOLVED] How to create folder for save/get data in iOS by using widget code?
      Mobile and Embedded • ios widget qt5.4 ipad • • mkdh  

      14
      0
      Votes
      14
      Posts
      6716
      Views

      qrc is a read-only system by design. Otherwise it would mean that you can rewrite your executable in place. You're welcome ! By the way, no need to modify the title to mark the thread as solved, the "Topic Tool" button is there for that :)
    • [SOLVED] my code make my memory increasing
      Mobile and Embedded • android widget qt5.4 • • mkdh  

      5
      0
      Votes
      5
      Posts
      1313
      Views

      @qtwithanzo hi, If the model might still be connected elsewhere then yes it's the correct way. Otherwise use the standard C++ delete.
    • Qt 5 Connection to database MySQL don't work ?
      General and Desktop • sql qt5.4 mysql qt 5.4.2 mysql 64bit • • islam ouahouda  

      8
      0
      Votes
      8
      Posts
      2976
      Views

      @islam-ouahouda Try this, http://seppemagiels.com/blog/create-mysql-driver-qt5-windows it worked for me
    • SOLVED Get Image FileList from FTP server
      Mobile and Embedded • android widget qt5.4 mobile iphone • • mkdh  

      13
      0
      Votes
      13
      Posts
      5380
      Views

      @mkdh You're Welcome :) Also please surround your code with ``` (3 backticks) while posting it here. It looks more nicer. I have now added those in your previous post. Happy Coding ...
    • [SOLVED] OpenGlWidget Error: undefined reference to `vtable for GLWidget'
      General and Desktop • opengl qt5.4 • • Lays147  

      3
      0
      Votes
      3
      Posts
      3062
      Views

      @SGaist Thanks! Solved this!
    • Offset in QMouseEvent based line drawing
      General and Desktop • qgraphicsview qgraphicsscene qt5.4 qmainwindow qmouseevent os x 10.7.5 • • Vyata  

      1
      0
      Votes
      1
      Posts
      987
      Views

      No one has replied

    • [solved] QTableView and QLineEdit
      General and Desktop • c++ qtableview qt5.4 qlinedit • • sigsevg  

      2
      0
      Votes
      2
      Posts
      1970
      Views

      HI and welcome to devnet, you can connect a slot to the QHeaderView::sectionResized() signal to be notified when a column is resized connect(tableView->horizontalHeader(), &QHeaderView::sectionResized, this, &MyWIdget::slotColumnResized);