Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Why is my desktop app running in the Simulator?

Why is my desktop app running in the Simulator?

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 3 Posters 2.3k 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
    jwomble
    wrote on last edited by
    #1

    Hello,
    I have built an application using QT Creator on Ubuntu, and it works fine for me. When a co-worker checks it out of SVN and runs it (after running qmake, then make), it is launched inside the Nokia phone simulator. What's going on here? I'm assuming that there is some qmake argument that needs to be set, but what is it?

    Thanks!

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jake007
      wrote on last edited by
      #2

      No argument needed.
      He can change the way how to run the app, by clicking the icon above play ( the green arrow that starts the app).
      Otherwise, he can add build target (again in the sidebar) in the project view.
      Only press + and add desktop build if not already listed.
      As I know, this settings are listed in user file. So if it's not updated, there might become differences like yours.

      Hope it helps.
      Regrads,
      Jake


      Code is poetry

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mlong
        wrote on last edited by
        #3

        And remember, the .user files should never be shared, as they contain information specific to one particular Creator installation and configuration.

        Software Engineer
        My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jwomble
          wrote on last edited by
          #4

          remove .user file from repo - will do.

          Can the build target be changed from the command line? co-worker is not use Creator.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jake007
            wrote on last edited by
            #5

            qmake.exe [PROJECT PATH] -r -spec win32-g++ "CONFIG+=release" // Windows Compile

            Which IDE is using your co-worker?
            It's so much easier to press 3 buttons to change a target, than typing in a command line ;)


            Code is poetry

            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