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. Can't run demo project "Paths Stroke"

Can't run demo project "Paths Stroke"

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

    Hello !

    I'm new to QT and wanted to play around with it.
    Found an interesting demo project named "Paths Stroke", but running it produces the following error:

    c:/qtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -ldemo_shared
    collect2: ld returned 1 exit status
    mingw32-make.exe[1]: *** [debug\pathstroke.exe] Error 1
    mingw32-make.exe: *** [debug] Error 2
    17:15:32: The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
    Error while building project pathstroke (target: Desktop)
    When executing build step 'Make'

    I have Visual Studio 2010 installed, but even though I changed the compiler from MSVC to MINGW, I still get the same error.
    Some other demos do work, but some don't with this message.

    Has anyone else encountered with this irritant ?

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi there,
      When changing the compiler settings you need to run the QMake and after that run a clean build. Might solve the issue.
      I will try to build the example in the latest Qt designer.
      Got the same problem here!! It might be a bug in the demo, you can report this.
      greetz

      Greetz, Jeroen

      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