Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] How to send error message if error library not found ?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
6 Posts 5 Posters 1.1k Views 1 Watching
  • 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 Offline
    K Offline
    kiwing
    wrote on last edited by
    #1

    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
    0
    • A Offline
      A Offline
      ashokb
      wrote on last edited by
      #2

      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
      0
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on last edited by
        #3

        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
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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
          0
          • M Offline
            M Offline
            maddoc
            wrote on last edited by
            #5

            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
            0
            • K Offline
              K Offline
              kiwing
              wrote on last edited by
              #6

              Ok, very well..

              Thanks for the information..

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved