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. Switching between Ios and Desktop gives compiler fits with libraries
Forum Updated to NodeBB v4.3 + New Features

Switching between Ios and Desktop gives compiler fits with libraries

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 684 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
    kloveridge
    wrote on last edited by
    #1

    I have a app that is supposed to run either on the desktop or ios. It has two libraries of mine. The main app and the two libraries combined in a subdirs project.

    If I compile for desktop and get it running in either debug or release everything seems fine. As long as I continue to work in desktop mode, everything is fine.

    The trouble begins when I switch to Compile Ios. I'll clean all, rebuild all. Usually it will compile fine but issue the error "Deployment failed. The settings in the Organizer window of Xcode might be incorrect." It appears that my two libraries aren't recompiling with the ios settings.

    How do I ensure that my libraries are recompiled with the ios settings. If fiddle with it long enough, I seem to stumble on the answer and it will start to work. But clearly I'm doing something wrong.

    Any suggestions?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kloveridge
      wrote on last edited by
      #2

      I have been staring at this for a couple of hours. And it seems like something under Qt Creators hood isn't getting the message when I switch platforms. I just sat and compiled the iOS version and watched Qt build the Mac version .o files.

      So when it attempted to launch, part of the project files were compiled for desktop and part for IOS. Clearly thats not going to work.

      Somehow a combination of Changing project, cleaning and rebuilding seems to finally solve the problem. Clearly there is a bug somewhere.

      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