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. Build and Run environments
Forum Updated to NodeBB v4.3 + New Features

Build and Run environments

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.0k 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.
  • J Offline
    J Offline
    Jyang772
    wrote on last edited by
    #1

    What build and run environments should I choose if I want to make sure my application works on other Linux machines running the same OS(Ubuntu)?

    Why is it that when I put the run environment as "Clean Environment" I am no longer able to start my application from within the Qt Creator IDE?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      It is possible that Qt libraries are not installed on your system (not installed in system paths, that is), so when you disable the smartness of Qt Creator, your application will not start.

      You can install Qt 5 from your distro packages, or follow "the deployment guide":http://qt-project.org/doc/qt-5/linux-deployment.html.

      (Z(:^

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jyang772
        wrote on last edited by
        #3

        [quote author="sierdzio" date="1401167931"]It is possible that Qt libraries are not installed on your system (not installed in system paths, that is), so when you disable the smartness of Qt Creator, your application will not start.

        You can install Qt 5 from your distro packages, or follow "the deployment guide":http://qt-project.org/doc/qt-5/linux-deployment.html.[/quote]

        I did a bit more testing, and the application will run if I add a variable for "Display"
        I set it to " :0 "

        Does this have something to do with x11 settings?

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Certainly looks like it. Although I've never actually encountered a problem like this one.

          (Z(:^

          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