Navigation

    Qt Forum

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

    • UNSOLVED qt4.8.7 Embedded application development,When the mouse quickly scrolls, there is an abnormal mouse click event
      Mobile and Embedded • qt 4.8 • • -Nn-  

      8
      0
      Votes
      8
      Posts
      283
      Views

      Did you try to use the patch provided in the report ?
    • UNSOLVED segmentation fault
      Mobile and Embedded • qt 4.8 cross-compiling mqtt armv7 • • Milav  

      61
      0
      Votes
      61
      Posts
      9760
      Views

      @Milav said in segmentation fault: the difference between host pc and Embedded target board is only QT source. Host pc => qmake (qt version 5.4.0 ) Embedded target => qmake (qt version 4.8.7) You should have stated these settings from the very beginning... :-) Anyway, could it be possible that you build Qt 4.8.7 for PC (host) and build your example again with that Qt version and run in PC to see what happens.
    • SOLVED reading file line by line crashes
      General and Desktop • qt 4.8 qtextstream readline • • mourad_bilog  

      17
      0
      Votes
      17
      Posts
      1935
      Views

      Finally I changed reading mode to read directly from the data file. It's most faster and just I was care to encode data when reading to keep special charcatars. Thanks all for your ideas
    • UNSOLVED How to connect to mysql server in ubuntu 16.04?.
      India • qt 5.7 qt 4.8 ubuntu 16.04 mysql driver mysql server • • Sivamani V  

      3
      0
      Votes
      3
      Posts
      1001
      Views

      @Sivamani-V said in How to connect to mysql server in ubuntu 16.04?.: QMYSQL Driver not loaded. Available drivers: QMYSQL QSQLITE QMYSQL3 This gets asked so many times, here & elsewhere. Googling for your message will bring up many hits. Under Linux/Ubuntu it's usually libmysqlclient or libqt5sql5-mysql or similar which is missing/has dependencies missing/wrong version.
    • UNSOLVED Qt value from lineEdit and isChecked from QCheckBox not working as expected
      General and Desktop • qt 4.8 connect failure display qstring • • Nano-95  

      8
      0
      Votes
      8
      Posts
      1239
      Views

      Hi You are mixing old syntax with lambda which it cannot do. With lambdas you cannot use the SIGNAL() macro. Has to be the new syntax. I used QObject::connect(&but_submit, &QPushButton::clicked, [&]() {... which compiled fine and did show the entered string. But you seems to be using Qt-4.8.5 at and new syntax first came in Qt5 so i guess that is why you get errors. So basically, with that old Qt , you cannot do it in main. You need a QOBJECT based object to send signals to. In that old Qt, its not possible to connect to functions. Only to member slots in a class. You must use that so old Qt ?
    • UNSOLVED Confused about how style sheet inheritance works
      Qt WebKit • stylesheet qwebview css qt 4.8 • • define-qt  

      5
      0
      Votes
      5
      Posts
      1739
      Views

      @define-qt You can be more specific using the name of object as identifier in style sheet sintaxe QLineEdit#ObjectName { border:0; }
    • SOLVED Override link QUrl parsing?
      Qt WebKit • qt 4.8 qurl qwebpage • • define-qt  

      9
      0
      Votes
      9
      Posts
      1897
      Views

      JS handler can be added via evaluateJavaScript, and Qt bridge used to provide actual handling via exported QObject I've considered adding API for C++ event hadlers, but that would require some development effort
    • UNSOLVED Regarding overwritting the existing data in the QSqlRelationalTableModel
      General and Desktop • qt 4.8 qsqlrelationalt • • Sudo007  

      4
      0
      Votes
      4
      Posts
      906
      Views

      yes, calling setfilter will call select using the filter argument as WHERE clause so resetting the whole model
    • SOLVED QFileSystemWatcher not updating on file change
      General and Desktop • qtcreator qt 4.8 qfilesystemwatc • • mister_m  

      22
      0
      Votes
      22
      Posts
      3281
      Views

      No event loop in my test - that is the problem.
    • SOLVED Qt 4.8 qml; javascript method does not work
      QML and Qt Quick • qml javascript qt 4.8 symbian • • Dante Leoncini  

      2
      0
      Votes
      2
      Posts
      1180
      Views

      achieve make it work like this: property string archivo: null function ubicacion(x) { archivo = x; return archivo.substr(8); }
    • SOLVED ¿Se puede crear componentes qml dinamicos con distintos valores?
      Spanish • qml javascript qt 4.8 symbian • • Dante Leoncini  

      2
      0
      Votes
      2
      Posts
      1132
      Views

      Lo resolvi ya con este ejemplo http://doc.qt.io/qt-4.8/qdeclarativedynamicobjects.html Lo malo es que tengo que programar varias cosas que con el codigo anterior hacia perfectamente. pero ahora puedo crear las ventanas dinamicamente y cada una es independiente. no estan mas en una lista o cuadricula.
    • UNSOLVED Is changing a QWizard into a QStackedWidget the best option?
      General and Desktop • qt 4.8 qstackedwidget qwizard qt 4.8.5 • • roseicollis  

      12
      0
      Votes
      12
      Posts
      4210
      Views

      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
    • SOLVED How to repaint QWidget encapsulated in QDeclarativeItem in QML?
      QML and Qt Quick • qml qt 4.8 qtquick 1.0 • • Chillax  

      25
      0
      Votes
      25
      Posts
      8694
      Views

      @Chillax You're Welcome :)
    • Qt proyect 4.8 mix with Qt 5.5
      General and Desktop • c++ qt qt 5 qt 4.8 • • Arturo Pablo R  

      5
      0
      Votes
      5
      Posts
      1367
      Views

      @SGaist said: QNetworkAccessManager. ok, i know by Qjson (but is for a 3rd and i preffer use the official) i forget the existence of QNetworkAccessManager.
    • UNSOLVED QT force ListView to beginning after suspending mouse input
      Mobile and Embedded • qml listview flickable qt 4.8 touch issue • • gsmith  

      1
      0
      Votes
      1
      Posts
      691
      Views

      No one has replied

    • UNSOLVED Reducing Qt installation directory size
      Installation and Deployment • build configure size install qt 4.8 • • Bart_Vandewoestyne  

      8
      0
      Votes
      8
      Posts
      4064
      Views

      @Bart_Vandewoestyne said: we're storing our Qt build in our version management system This is a strange thing to do, since Qt guarantees binary compatibility between minor versions, but well, you're free to choose. Unfortunately, I don't see how you could decrease the size further, beside deleting the docs, as the libraries are in the /lib directory and they're the next biggest size. Maybe store only the libs that you're using, i.e. these that you're going to deploy. No point in keeping QtXml if you're not using it, right?
    • Porting Qt 4.8.2 to QNX 6.6.0
      Mobile and Embedded • qt 4.8 qnx 6.6 • • DucN  

      4
      0
      Votes
      4
      Posts
      1520
      Views

      The most important thing: QT += widgets in your pro file. Otherwise the port itself is pretty painless, see here
    • QLabel pixmap not clearing
      General and Desktop • qlabel qpixmap transparency qt 4.8 • • Tymer  

      1
      0
      Votes
      1
      Posts
      2175
      Views

      No one has replied

    • Cross-compiling OpenCV to utilise cross-compiled QT sources
      Mobile and Embedded • arm opencv cross-compile qt 4.8 • • BlindChicken  

      1
      0
      Votes
      1
      Posts
      1000
      Views

      No one has replied

    • [Solved] Get translated string without switching the language
      General and Desktop • qt 4.8 translation language languagechange • • kumararajas  

      13
      0
      Votes
      13
      Posts
      5066
      Views

      @SGaist OK. Thanks for the answer. I'll give a try.
    • Qt error = ld: symbol(s) not found for architecture x86_64 on adding kQOAuth on mac .
      General and Desktop • mac qt 4.8 • • vivekmalik2466  

      1
      0
      Votes
      1
      Posts
      968
      Views

      No one has replied

    • How to compile QT open-source for windows 64 bit using visual studio 2012
      General and Desktop • visual studio compilation qt 4.8 • • John R  

      9
      0
      Votes
      9
      Posts
      4840
      Views

      @grazia88g said in How to compile QT open-source for windows 64 bit using visual studio 2012: has anyone ever done the same for Visual Studio 2010? Qt 5.7 and newer cannot be built with Visual Studio 2010
    • Qt Embedded, mixing unicode characters makes code lagging.
      Mobile and Embedded • font qt 4.8 unicode qtss • • MatsLindestam  

      2
      0
      Votes
      2
      Posts
      1233
      Views

      Hi and welcome to devnet, What version of Qt 4.8 are you currently using ?