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. No rules to make target of qtmultipagewidget
QtWS25 Last Chance

No rules to make target of qtmultipagewidget

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 311 Views
  • 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.
  • M Offline
    M Offline
    MostafaEzzat
    wrote on last edited by MostafaEzzat
    #1

    Capture.PNG

    i have a qt project i was creating on linux and windows , so i made everything on linux and almost finished when i try to compile it on windows there is an error in multipagewidget(i faced many issues on linux too but in the end it ran)

    this is the error message and i replaced all the dir of file on windows which is multipagewidget

    :-1: error: No rule to make target 'C:/Qt1/Examples/Qt-5.15.0/designer/containerextensionsion/multipagewidget.cpp', needed by 'debug/multipagewidget.o'. Stop.

    Thanks in advance

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      First thing, always use forward slashes in your paths.

      Next, are you sure of the location of that file ?
      About its casing ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

        Hi ,
        about forward slashes of dir of the file "multipagewidget" ? it's backward slash on windows so this's the right dir (linux is backward slash)

        And Yes i'm totally sure about the destination coz i copied from the path of Qt after searching so it's true

        SGaistS 1 Reply Last reply
        0
        • M Offline
          M Offline
          MostafaEzzat
          wrote on last edited by
          #4

          Thanks you make me notice for the Headers file and search for the Class itself "qt multipagewidget" i found that i didn't included the header files of multipagewidget so this error has gone

          1 Reply Last reply
          0
          • M MostafaEzzat

            Hi ,
            about forward slashes of dir of the file "multipagewidget" ? it's backward slash on windows so this's the right dir (linux is backward slash)

            And Yes i'm totally sure about the destination coz i copied from the path of Qt after searching so it's true

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @MostafaEzzat said in No rules to make target of qtmultipagewidget:

            about forward slashes of dir of the file "multipagewidget" ? it's backward slash on windows so this's the right dir (linux is backward slash)

            If you want to go that way: backslashes in string must be escaped because the backslash is an escape sequence.

            That said, Qt allows you to use forward slashes on all supported OS so you do not have to adapt the notation based on whether you are on Windows or a Unix system.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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