Navigation

    Qt Forum

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

    • UNSOLVED Get executable output from Qt console application project with arm64-v8a compiler
      General and Desktop • android qt application androidqt • • morteza ali ahmadi  

      1
      0
      Votes
      1
      Posts
      62
      Views

      No one has replied

    • SOLVED How to add Qt Application icon in ubuntu?
      Installation and Deployment • qt application icon in ubuntu hii how to add • • vaibs  

      11
      0
      Votes
      11
      Posts
      2446
      Views

      QMainWindow::setWindowIcon("name _of_png_file");
    • UNSOLVED Qt - Meetup at Bangalore, India.
      Announcements • qt 5.7 qt designer qt application • • Bharath_pthinks  

      1
      2
      Votes
      1
      Posts
      1074
      Views

      No one has replied

    • SOLVED how to get indented JSON values in C++ ?
      General and Desktop • c++ json qt application json parser • • Qjay  

      12
      0
      Votes
      12
      Posts
      3462
      Views

      @Gojir4 Sure, Thanks for your Help.
    • UNSOLVED Making the Qt brand remarkable or provide more useful features?
      Mobile and Embedded • qt application • • tham  

      2
      0
      Votes
      2
      Posts
      637
      Views

      I think You're missing most important part here... money. How much was spend on re-brand? I know that some companies do pay big bucks for simple stuff like new slogan / logo etc. and if that's the case here that I can say that QtCompany did overpay. In my opinion this could be easily achieved by one designer over night, but lets be more realistic and assume one month worth of work was put into this, plus changes to WWW / forums etc. so lets extend this to two months and i.e. 3 web developers plus one designer. This give two months worth of work for 3-4 workers. I honestly doubt that within that time solid API could be written for half of features that was pointed out. Also web API do change from time to time so maintenance is also a problem. Imagine situation when commercial customer purchased Qt license and all of sudden i.e. advertisement or analytic modules stops working due to change of API and Qt has no control over this what so ever - this is a risk. Don't get me wrong, I would love to see those features working, even with bugs.
    • UNSOLVED Looking for Qt Developers
      Jobs • qt creator qt 5.4 qt application videooutput video lib ffmpe • • 360Dev  

      6
      0
      Votes
      6
      Posts
      3564
      Views

      Have experience You need: 10+ years of C++/Qt experience Worked with images and graphics in Qt Worked with ffmpeg, video encoding, etc, have own scripts for this :) Good coding and documentation skills Good English Experience and ability to develop cross-platform applications for Mac OS X, Windows, Linux Knowledge of Git Full CV: http://ua.linkedin.com/in/alekseykontsevich
    • UNSOLVED QTOPIA_ADD_APPLICATION(QTOPIA_TARGET,Dialog1 )
      Mobile and Embedded • qtcreator qt 5.4 qt application qt embedded • • rondi  

      4
      0
      Votes
      4
      Posts
      1040
      Views

      What PDA device ?
    • Weird crashes in multi-threaded application
      General and Desktop • desktop crash qt application qt5.5.0 multi-thread • • Moonlight-Angel  

      5
      0
      Votes
      5
      Posts
      3683
      Views

      Here's an example of the errors I got. http://hastebin.com/qalutirici.coffee This seems like a false positive or something that isn't in my code (maybe I'm wrong). In each error I got, the "at" is pointing to a function that isn't part of my code.
    • 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
      1549
      Views

      I've checked, there's currently no option to do it directly with Qt Multimedia. You might want to check the QtAV project.
    • WebView Content Size Problem
      QML and Qt Quick • qml qtquick qt 5.4 webview os x qt application qt5.4.1 • • bck25  

      3
      0
      Votes
      3
      Posts
      1852
      Views

      Thanks so much for taking a stab at it. I tried setting the experimental.preferredMinimumContentsWidth to numbers ranging from 1 to 10000, but it doesn't seem to have any sort of affect for me. I have tried playing around with experimental.page.scale. I found setting it to 1200/webview.width gives something similar to what I'm looking for. It prevents the page from shrinking when resizing. However, everything ends up getting very blurry, so it can't be a solution for me. I'll try digging through the experimental settings some more. It's too bad that it isn't better documented. It is so sad that this zooming "feature" can't be turned off. It looks like QWebView behaves properly by default, but it is a Qt widget, not a Qt Quick widget. So I won't be able to use it in my application. If anyone out there knows how to fix this, please help!
    • QAction::eventFilter: Ambiguous shortcut overload
      General and Desktop • qt application qaction qt 5.3 qshortcut • • Mahima  

      1
      0
      Votes
      1
      Posts
      1648
      Views

      No one has replied

    • [SOLVED] Need a sample application for handwriting
      Mobile and Embedded • qt application reference handwriting qt5.1.1 • • Ajith_P_V  

      6
      0
      Votes
      6
      Posts
      1623
      Views

      @mcosta Thank you so much. The example that you have provided me looks promising. I will start with that, and see how I can extend further.
    • Android USB camera recording
      Mobile and Embedded • qml android qt creator qt application androidqt qt 5.4.0 qtandroid • • Anilkumar  

      2
      0
      Votes
      2
      Posts
      1170
      Views

      Hi and welcome to devnet, Did you try with QCamera and it's friendly classes ?
    • Random crashes after switching to multi-thread
      General and Desktop • desktop crash qt application qt5.4.1 • • Moonlight-Angel  

      13
      1
      Votes
      13
      Posts
      6112
      Views

      @cybercatalyst You're right. Thanks for your answers anyway, it really helped me. ;)
    • Text obtaining a QLineEdit
      General and Desktop • desktop qt application qlinedit gettext • • LuisEnrique  

      2
      0
      Votes
      2
      Posts
      824
      Views

      Hi @LuisEnrique, The Qt way to do it is using QString::number.
    • Obtener Texto de QLineEdit
      Spanish • desktop qt application qlinedit spanish • • LuisEnrique  

      3
      0
      Votes
      3
      Posts
      5943
      Views

      Hola Como siempre digo, lo mejor que puedes hacer es acostumbrarte a consultar la documentación, en el caso de Qt es muy clara y completa. Para convertir el número tienes el método int toInt(bool * ok = 0, int base = 10) de la clase QString: http://doc.qt.io/qt-5/qstring.html#toInt En el QLineEdit puedes usar una máscara para asegurarte que solo se introducen números: http://doc.qt.io/qt-5/qlineedit.html#inputMask-prop Para acceder al contenido del QLineEdit el método a usar es text(): http://doc.qt.io/qt-5/qlineedit.html#text-prop Un saludo
    • [SOLVED] Load HTML file to search for a string
      General and Desktop • c++ qstring qt application qtextstream • • ASSeeger  

      7
      1
      Votes
      7
      Posts
      3679
      Views

      It's a stream. Once you read data the subsequent reads don't "go back". ui->textBrowserHTML->setText(in.readAll()); //you read all so the stream is "empty" now ... myString = in.readLine(); //there's nothing in the stream at this point Btw. If you just want to read the file as a whole without any parsing or chunking you can skip the stream and readAll() directly from the QFile.
    • how can i run a code have been written in QT2?
      Installation and Deployment • qt5 linux qt creator qt5.5 qt application • • mahboubeh  

      12
      0
      Votes
      12
      Posts
      2642
      Views

      @mcosta :it is not very big, so if you can see this code and just say what can I do or what is better to do, I have been very grateful to you for all your help.
    • Qt and QML Training program ||
      Announcements • qt5 qt creator qtquick qwidget qmake qthread qgraphicsview qgraphicsscene qpainter qgraphicsitem qmediaplayer qt 5.4 qserialport qtmultimedia qt 5.4.1 qt application • • pthinks  

      2
      0
      Votes
      2
      Posts
      1620
      Views

      Hi @pthinks, I highly recommend you proofread your post. It contains false advertising (you are not the top 2nd contributor in the forum) It contains outdated information (qt-project.org is now offline) It's full of formatting errors ("list listItem")
    • Rest Web Service - Keep-alive Connection
      Mobile and Embedded • qtcreator qt5.4 qt application webserver qt developer • • Buleron  

      1
      0
      Votes
      1
      Posts
      1567
      Views

      No one has replied

    • Regarding development of software in both X-32 and x-64 bit OS configurations
      Installation and Deployment • configure pyqt qt application compilation cross platform 64 bits 32 bits • • John R  

      7
      0
      Votes
      7
      Posts
      1804
      Views

      @sierdzio said: Thanks a lot for the clarification.
    • Qt push notification doesnt work in background
      Mobile and Embedded • android qtcreator ios qt 5.4.1 qt application qtplugin • • Buleron  

      5
      0
      Votes
      5
      Posts
      3487
      Views

      @alexvplay I have used V-play plugins with QML application and all works good, but i want somehow to have oportunity user to disable receiving notification on his mobile when he install my application, i have try with Parse property: enabled : bool to be false, but user still received notifications... So please can you give advice how i can make receiving of notification on mobile device where my app is installed to be configurable, i.e. user to have option to turn On or Off receiving notifications. Thanks in advance
    • [SOLVED] Function works, can't add it to slot
      General and Desktop • c++ qt5 slots qt application help • • Adept  

      8
      0
      Votes
      8
      Posts
      2037
      Views

      You can first retrieve the getSelectedTabAsWidget() as a QWidget, check that it's not null, and if qobject_cast<QMdiArea*>() doesn't return NULL. Snippet 1: QWidget* selectedWidget = getSelectedTabAsWidget(); if ( selectedWidget == NULL ) { return; } QMdiArea* mdiArea = qobject_cast<QMdiArea*>(selectedWidget); if ( mdiArea == NULL ) { return; } // Here, we know that mdiArea is indeed a QMdiArea. Snippet 2: QWidget* selectedWidget = getSelectedTabAsWidget(); if ( selectedWidget == NULL ) { return; } if ( ! selectedWidget->inherits(QMdiArea::staticMetaObject.classname()) return; // Here, we know that mdiArea is indeed a QMdiArea. QMdiArea* mdiArea = qobject_cast<QMdiArea*>(selectedWidget);
    • Which Qt Creator template I have to choose for desktop application development?
      General and Desktop • qtcreator python desktop pyqt qt application • • John R  

      3
      0
      Votes
      3
      Posts
      1841
      Views

      Hello svyatoslav, Yes I had already referred this URL, that is not enough Thanks you very much for responding
    • QT de WCF servis kullanımı
      Turkish • qt application • • ceyhun  

      3
      0
      Votes
      3
      Posts
      2408
      Views

      https://coab.wordpress.com/2009/10/15/calling-wcf-services-from-a-linux-c-client-using-gsoap/
    • Using Web Services and WCF Services in QT
      General and Desktop • qt application • • ceyhun  

      4
      0
      Votes
      4
      Posts
      1836
      Views

      Then have a look at the Same game tutorial, the Storing High Score online part
    • Generating a customized Project file Qt
      General and Desktop • qt5 qt application • • raghaw  

      2
      0
      Votes
      2
      Posts
      771
      Views

      @raghaw said: I could use QSettings way , but the problem is the file extension of QSettings file will be either .ini or .conf, as compared to my project file extension which will be let say .amu. You can set the QSettings filename and also extension, BTW if you want use a text format suggest to use JSON (I hate XML)
    • QSettings segfault on Linux
      General and Desktop • qt application • • fabienm  

      8
      0
      Votes
      8
      Posts
      3423
      Views

      So, I recompile Qt for Linux and Windows to be sure, and there is definitively a difference in the behaviour of QSettings. I tracked the crash in qsettings.cpp and I found the responsible line. In the file, there is the class function QConfFile::fromName(const QString &fileName, bool _userPerms) on line 190. In this function, we try to get a ConfFileHash* on line 194. On Windows, the return value is valid, whereas on Linux, the value is null, that's why my application crash. However, I don't have any ideas to solve it. I think the difference is on which order are resources destroyed. On Linux, after main ends, a resource has to be destroyed, whereas on Windows it isn't. I post here the complete stack trace: Thread 1 (Thread 0x7f5094b3c780 (LWP 7527)): #0 0x00007f50945be5cc in QHash<QString, QConfFile*>::value (this=0x0, akey=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:618 node = 0x7fff71651dd0 #1 0x00007f50945b49d6 in QConfFile::fromName (fileName=..., _userPerms=true) at io/qsettings.cpp:200 absPath = {static null = {<No data fields>}, d = 0x2209520} confFile = 0x0 locker = {val = 139984066867721} usedHash = 0x0 unusedCache = 0x0 #2 0x00007f50945b8739 in QConfFileSettingsPrivate::QConfFileSettingsPrivate (this=0x2208da0, fileName=..., format=QSettings::IniFormat) at io/qsettings.cpp:1156 No locals. #3 0x00007f50945b50cb in QSettingsPrivate::create (fileName=..., format=QSettings::IniFormat) at io/qsettings.cpp:294 No locals. #4 0x00007f50945bbdfc in QSettings::QSettings (this=0x7fff71651ee0, fileName=..., format=QSettings::IniFormat, parent=0x0) at io/qsettings.cpp:2575 No locals. #5 0x000000000040148d in endMain () at main.cpp:30 settings = {<QObject> = {_vptr.QObject = 0x7fff71651f00, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f50947ed240 <qt_meta_stringdata_QObject>, data = 0x7f50947ed360 <qt_meta_data_QObject>, static_metacall = 0x7f509468f702 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7f50945d1d1c <(anonymous namespace)::Q_QGS_qtLoggingRegistry::Holder::~Holder()+36>}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f509483a740 <qt_meta_stringdata_Qt>, data = 0x7f5094844ac0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f509493fb40 <QObject::staticMetaObject>, stringdata = 0x7f509484f900 <qt_meta_stringdata_QSettings>, data = 0x7f509484f940 <qt_meta_data_QSettings>, static_metacall = 0x7f5094718e20 <QSettings::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}} #6 0x00007f5093a7d259 in __run_exit_handlers (status=0, listp=0x7f5093dff6c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82 atfct = <optimized out> onfct = <optimized out> cxafct = <optimized out> f = <optimized out> #7 0x00007f5093a7d2a5 in __GI_exit (status=<optimized out>) at exit.c:104 No locals. #8 0x00007f5093a62ecc in __libc_start_main (main=0x40153c <main(int, char**)>, argc=1, argv=0x7fff71652028, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff71652018) at libc-start.c:321 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6701343962190558468, 4199168, 140735095840800, 0, 0, 6701050451662228220, 6746722540675549948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x403b20 <__libc_csu_init>, 0x7fff71652028}, data = {prev = 0x0, cleanup = 0x0, canceltype = 4209440}}} not_first_call = <optimized out> #9 0x0000000000401329 in _start () No symbol table info available. @msms said: I see some QCoreApplication event calls in that file. Those could crash your program for example (but maybe not). Indeed, there are some QCoreApplication event calls. I haven't got into this calls, but these calls are static, so maybe the QCoreApplication isn't needed. The above stack trace seems exclude this theory. In all case, thanks for your help Cheers
    • [SOLVED] How to compile QT examples with QT creator and visual studio 2012 compiler
      General and Desktop • qt3d qt application qt examples • • ArMD  

      2
      0
      Votes
      2
      Posts
      1694
      Views

      I was able to resolve this problem. The issue was, I had run "nmake install" instead of "nmake". refer to : https://bugreports.qt.io/browse/QTBUG-44862.