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. Mergin projects, cant compile mocs_compilation
QtWS: Super Early Bird Tickets Available!

Mergin projects, cant compile mocs_compilation

Scheduled Pinned Locked Moved Unsolved General and Desktop
cmakemoc
14 Posts 5 Posters 2.2k 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.
  • D Offline
    D Offline
    Dariusz
    replied to koahnig on last edited by
    #3

    @koahnig said in Mergin projects, cant compile mocs_compilation:

    @Dariusz

    Have you done a rerun qmake and a rebuild?

    About 200 by now :- )

    aha_1980A 1 Reply Last reply
    0
  • aha_1980A Offline
    aha_1980A Offline
    aha_1980 Lifetime Qt Champion
    replied to Dariusz on last edited by
    #4

    @Dariusz said in Mergin projects, cant compile mocs_compilation:

    @koahnig said in Mergin projects, cant compile mocs_compilation:

    @Dariusz

    Have you done a rerun qmake and a rebuild?

    About 200 by now :- )

    Ehem, are you really using Qmake?

    Makefile2 [CMakeFiles\app.dir\all] Error 2

    that rather sounds like CMake...

    Qt has to stay free or it will die.

    D 2 Replies Last reply
    3
  • D Offline
    D Offline
    Dariusz
    replied to aha_1980 on last edited by Dariusz
    #5

    @aha_1980 said in Mergin projects, cant compile mocs_compilation:

    @Dariusz said in Mergin projects, cant compile mocs_compilation:

    @koahnig said in Mergin projects, cant compile mocs_compilation:

    @Dariusz

    Have you done a rerun qmake and a rebuild?

    About 200 by now :- )

    Ehem, are you really using Qmake?

    Makefile2 [CMakeFiles\app.dir\all] Error 2

    that rather sounds like CMake...

    Yeah I'm using CMake...hmm I thought I placed tag in the topic for CMake here :- )

    I'm going over CMakeFiles/app.dir /etc/etc now 1 by 1 trying to find some kind of cmake log that could tell me where it crashed....

    Weird thing is, I managed to load half of the library-source, but when I try to say extend one of classes I get an error too... o_o

    1 Reply Last reply
    0
  • D Offline
    D Offline
    Dariusz
    replied to aha_1980 on last edited by
    #6

    @aha_1980 Ok I think I found it... it was... WINDOWS PATH LIMIT! Yay....... How on earth do I fix it? O_O

    mrjjM 1 Reply Last reply
    0
  • mrjjM Offline
    mrjjM Offline
    mrjj Lifetime Qt Champion
    replied to Dariusz on last edited by
    #7

    @Dariusz
    Hi Wow. it must be a somewhat nested structure to hit the limit.
    Anyway, if Windows 10, there is an opt-in option
    https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file
    section Maximum Path Length Limitation

    D 1 Reply Last reply
    0
  • D Offline
    D Offline
    Dariusz
    replied to mrjj on last edited by
    #8

    @mrjj said in Mergin projects, cant compile mocs_compilation:

    @Dariusz
    Hi Wow. it must be a somewhat nested structure to hit the limit.
    Anyway, if Windows 10, there is an opt-in option
    https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file
    section Maximum Path Length Limitation

    I've set the group policy to be long paths, as I'm on w10Pro but still did not work. I ended up having to shorten my folder names :- (((( Apparently in order for long path to be used the application has to use it itself, its not default implementation or something like that :- (.

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

    Hi,

    Out of curiosity, how long are you paths ?

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

    D 1 Reply Last reply
    0
  • D Offline
    D Offline
    Dariusz
    replied to SGaist on last edited by
    #10

    @SGaist said in Mergin projects, cant compile mocs_compilation:

    Hi,

    Out of curiosity, how long are you paths ?

    Weird, I just did check on one of longer ones, it was around 140 chars... + so this is even weirder... how did I hit path limit o.O

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

    Encrypted disk ?

    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
  • D Offline
    D Offline
    Dariusz
    wrote on last edited by
    #12

    Nope don't think so. I guess the build/debug/CMake.xxxx etc etc might add quite a few more chars, so the files in src are fine but the generated cmake path is too long due to all of them adding up somehow?

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

    Did you try to build your project directly from a command prompt ?

    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
  • D Offline
    D Offline
    Dariusz
    wrote on last edited by
    #14

    Hey

    Nope not yet. Will try it, just need to learn it :- )

    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