Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building against ICU in debug and release
Forum Updated to NodeBB v4.3 + New Features

Building against ICU in debug and release

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 952 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.
  • S Offline
    S Offline
    supagu
    wrote on last edited by
    #1

    I am trying to build Qt with ICU (so I can use webkit), I have built both a debug and release version of ICU libraries
    but the problem is, Qt uses the release ICU libraries even in the debug build

    this is how I configure Qt:
    configure {other options here} -icu -I {debug include path} -L {debug lib path} -I {release include path} -L {release lib path}

    One thing I tried to do was to perform two separate builds of Qt, one that builds only release libraries (-release configure option)
    and a build that only builds debug libraries (-debug configure option).
    But got stuck here as the debug build would also perform a release build if I used the -debug configure option.

    How can I get a debug build building against debug ICU and the release build building against release ICU?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      supagu
      wrote on last edited by
      #2

      I worked it out, if I add -debug or -release to my make command then I can just do two separate builds of qt. One for debug which uses debug ICU and another build for release which uses release ICU

      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