Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    [SOLVED] How to send error message if error library not found ?

    General and Desktop
    5
    6
    909
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kiwing last edited by

      I've a librarry like -lQt5Core
      But I have no librarry like -lnothing

      1. I run that program
      2. I've error message "cannot find -lnothing"
        !http://i47.photobucket.com/albums/f167/Haadii_Ubaidillah/Abstract/QT/Screenshotfrom2014-09-20170705_zps0b471988.png(Error cannot find -lnothing)!

      How can I send a replace message to install related librarry ?
      ex : "This program required foo application, please install foo aplication to install this program !"

      Please Help,

      Regards

      1 Reply Last reply Reply Quote 0
      • A
        ashokb last edited by

        bq.
        How can I send a replace message to install related librarry ?
        ex : “This program required foo application, please install foo aplication to install this program !”

        Why you want to replace the message?
        Where you want to send that?

        1 Reply Last reply Reply Quote 0
        • dheerendra
          dheerendra Qt Champions 2022 last edited by

          Hope you are seeing this error while executing your program. You will not be able to catch this your executable. Only way is to write some shell script to execute your program and catch the standard errors. You can send this standard errors through some email etc.

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Hi,

            Depending on how you are going to deploy your application, it should be done at the installation level. E.g. for Debian like distribution, your deb package should contain the dependency information so that they will be installed along with your application.

            Otherwise, you should implement some check in your installer

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • M
              maddoc last edited by

              So, it's depending to our platform..
              I just wondering C++ like Java after get this question

              Thanks for the informations

              1 Reply Last reply Reply Quote 0
              • K
                kiwing last edited by

                Ok, very well..

                Thanks for the information..

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post