Navigation

    Qt Forum

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

    • SOLVED what is meaning of g++ -DQT_QML_DEBUG in Qt compiler log?
      General and Desktop • qml linux g++ qt 5.13.1 dqtqmldebug • • Yash001  

      2
      0
      Votes
      2
      Posts
      215
      Views

      @Yash001 See https://doc.qt.io/qt-5/qtquick-debugging.html "what is actual text of DQT_QML_DEBUG?" - there is no text. -DQT_QML_DEBUG sets QT_QML_DEBUG define (such defines can be checked in C/C++ code using #ifdef QT_QML_DEBUG). QT_QML_DEBUG activates "QML Debugging Infrastructure".
    • SOLVED How to solve the QSerialPort::ResourceError on Linux platform?
      General and Desktop • linux qthread qserialport ubuntu 18.04 qt 5.13.1 • • Yash001  

      18
      0
      Votes
      18
      Posts
      1644
      Views

      Few place I read, it is generated due to some issue with kernel. So I just update the Ubuntu LTS, and Now it is working with same code.
    • SOLVED How to set the Exec and Icon in *.desktop file with help of installer?
      General and Desktop • linux ubuntu 18.04 qt 5.13.1 shell binarycreator • • Yash001  

      2
      0
      Votes
      2
      Posts
      928
      Views

      It may save other time. Call below function from installer.qs for creating *.desktop file you can call prototype by this. desktopFileCreateOnLinux() from any function in side component script. Below script will create the two place *.desktop file. inside the @TargetDir@/ inside ~/.local/share/applications/ (it will help while searching from Show application). prototype definition: Component.prototype.desktopFileCreateOnLinux = function() { if ((systemInfo.kernelType === "linux") ||(systemInfo.kernelType === "Linux")) { var dir = installer.value("TargetDir"); component.addOperation("CreateDesktopEntry", "Squidstat.desktop", "Type=Application\nName=Squidstat\nExec=\'"+dir+"/SquidStat.sh\'\nGenericName=The IDE of choice for Squidstat handle.\nIcon="+dir+"/Squidstat.png\nTerminal=false\nCategories=IDE;Qt;"); component.addOperation("CreateDesktopEntry", "@TargetDir@/Squidstat.desktop", "Type=Application\nName=Squidstat\nExec=\'"+dir+"/SquidStat.sh\'\nGenericName=The IDE of choice for Squidstat handle.\nIcon="+dir+"/Squidstat.png\nTerminal=false\nCategories=IDE;Qt;"); } }
    • UNSOLVED Windeployqt won't run, “Access is denied.”
      Installation and Deployment • c++ msvc windeployqt qt 5.13.1 • • jkofskie  

      2
      0
      Votes
      2
      Posts
      265
      Views

      Hi and welcome to devnet, What version of Windows are you using ? Can you run your application from the same command prompt ?
    • UNSOLVED How can I install Qt debug library while installing Qt creator?
      General and Desktop • linux qt creator qt 5.13.1 debug libraries gcc64 • • Yash001  

      11
      0
      Votes
      11
      Posts
      766
      Views

      A library is not an application. If you are targeting several Linux distributions, the nicest would be to provide a package using their format e.g. .deb files for Debian based distributions. As for Windows, there's no real package format. Maybe using something like conan.io might be an option. Otherwise an archive that provides your .dll, header and .lib files for the various compilers you want to support is usually good enough. However packing a full version of all your dependencies, while it sounds nice, might prove problematic. If you provide them, then you should also take care of updating them in case of security issues found during the year.
    • UNSOLVED Is Qt tool add RunPath automatically on execution file ?
      General and Desktop • linux qt creator qmake ubuntu 18.04 qt 5.13.1 • • Yash001  

      2
      0
      Votes
      2
      Posts
      284
      Views

      Hi, I think you are looking for QMAKE_RPATHDIR.
    • SOLVED Why it is generating multiple library files instead of single file?
      General and Desktop • configure pro file lib qt 5.13.1 qdll • • Yash001  

      5
      0
      Votes
      5
      Posts
      244
      Views

      @Christian-Ehrlicher said in Why it is generating multiple library files instead of single file?: why does your user has to link to all 4 files, esp. when three of them are (correct) symlinks? Sorry for silly question. I misunderstood about symbolic link. I got my answer user need to add libSquidstatLibrary.1.0.0.dylib file. Thank you.
    • SOLVED How can I solve this error ?
      General and Desktop • qt 5.13.1 qcompilerdetect • • Yash001  

      3
      0
      Votes
      3
      Posts
      486
      Views

      @JonB Thank you sir, you right. I did mistake in .pro file. I mention DEFINE like below. DEFINES += WIN64 SQUIDSTATELIBRARY_LIB. To solve this error replace I replace to DEFINES += SQUIDSTATELIBRARY_LIB and it is work. I don't know some how it is work on mac, but on Linux it was giving me error. Thank you.