UIC doesn't output to a file












0















It just doesn't.



I'm fairly certain this is an issue with my computer, possibly due to the path variables, because I get the same problem with qt 5.11 as well as qt 5.12. It also seems like I'm not the only one who's had this problem—see this question—which works, but it's going to be pretty painful to do this for every *.ui file and dump it exactly where visual studio and/or the build bat script that MuseScore comes with expects it to be.



This is an example of what I'm trying to do and a fairly annoying work around:



Microsoft Windows [Version 10.0.17134.471]
(c) 2018 Microsoft Corporation. All rights reserved.

C:ProjectFilesmscoreMuseScorezerberus>uic zerberus_gui.ui -o ui_zerberus_gui.h

C:ProjectFilesmscoreMuseScorezerberus>ls
CMakeLists.txt channel.h instrument.cpp sfz.cpp zerberus.cpp zerberusgui.cpp zone.h
README filter.cpp instrument.h voice.cpp zerberus.h zerberusgui.h
channel.cpp filter.h sample.h voice.h zerberus_gui.ui zone.cpp

C:ProjectFilesmscoreMuseScorezerberus>uic zerberus_gui.ui > ui_zerberus_gui.h

C:ProjectFilesmscoreMuseScorezerberus>ls
CMakeLists.txt channel.h instrument.cpp sfz.cpp voice.h zerberus_gui.ui zone.cpp
README filter.cpp instrument.h ui_zerberus_gui.h zerberus.cpp zerberusgui.cpp zone.h
channel.cpp filter.h sample.h voice.cpp zerberus.h zerberusgui.h


This is what my path variables look like:



C:ProjectFilesmscoreMuseScorezerberus>echo %PATH%
C:Program Files (x86)Common FilesOracleJavajavapath;C:ProgramDataOracleJavajavapath;C:Program Files (x86)InteliCLS Client;C:Program FilesInteliCLS Client;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT;C:Program FilesIntelIntel(R) Management Engine ComponentsIPT;C:Program Files (x86)NVIDIA CorporationPhysXCommon;C:Program Files (x86)Common FilesPropellerhead SoftwareReWire;C:Program FilesCommon FilesPropellerhead SoftwareReWire;C:Program Files (x86)PuTTY;C:Program Files (x86)GtkSharp2.12bin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:WINDOWSSystem32OpenSSH;C:Program FilesGitcmd;C:Program FilesGitusrbin;C:Program FilesCMakebin;C:UsersMichaelAppDataLocalProgramsMicrosoft VS Codebin;C:QtToolsQtCreatorbin;C:Qt5.12.0msvc2017_64bin;C:UsersMichaelAppDataLocalMicrosoftWindowsApps;C:UsersMichaelAppDataLocalProgramsMicrosoft VS Codebin;C:UsersMichaelAppDataLocalGitHubDesktopbin;

C:ProjectFilesmscoreMuseScorezerberus>


This is the build output from when I tried to build MuseScore; output too large so posting on PasteBin.



Hopefully I can get this going before MuseScore 3.0 is released to fix a few bugs.










share|improve this question





























    0















    It just doesn't.



    I'm fairly certain this is an issue with my computer, possibly due to the path variables, because I get the same problem with qt 5.11 as well as qt 5.12. It also seems like I'm not the only one who's had this problem—see this question—which works, but it's going to be pretty painful to do this for every *.ui file and dump it exactly where visual studio and/or the build bat script that MuseScore comes with expects it to be.



    This is an example of what I'm trying to do and a fairly annoying work around:



    Microsoft Windows [Version 10.0.17134.471]
    (c) 2018 Microsoft Corporation. All rights reserved.

    C:ProjectFilesmscoreMuseScorezerberus>uic zerberus_gui.ui -o ui_zerberus_gui.h

    C:ProjectFilesmscoreMuseScorezerberus>ls
    CMakeLists.txt channel.h instrument.cpp sfz.cpp zerberus.cpp zerberusgui.cpp zone.h
    README filter.cpp instrument.h voice.cpp zerberus.h zerberusgui.h
    channel.cpp filter.h sample.h voice.h zerberus_gui.ui zone.cpp

    C:ProjectFilesmscoreMuseScorezerberus>uic zerberus_gui.ui > ui_zerberus_gui.h

    C:ProjectFilesmscoreMuseScorezerberus>ls
    CMakeLists.txt channel.h instrument.cpp sfz.cpp voice.h zerberus_gui.ui zone.cpp
    README filter.cpp instrument.h ui_zerberus_gui.h zerberus.cpp zerberusgui.cpp zone.h
    channel.cpp filter.h sample.h voice.cpp zerberus.h zerberusgui.h


    This is what my path variables look like:



    C:ProjectFilesmscoreMuseScorezerberus>echo %PATH%
    C:Program Files (x86)Common FilesOracleJavajavapath;C:ProgramDataOracleJavajavapath;C:Program Files (x86)InteliCLS Client;C:Program FilesInteliCLS Client;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT;C:Program FilesIntelIntel(R) Management Engine ComponentsIPT;C:Program Files (x86)NVIDIA CorporationPhysXCommon;C:Program Files (x86)Common FilesPropellerhead SoftwareReWire;C:Program FilesCommon FilesPropellerhead SoftwareReWire;C:Program Files (x86)PuTTY;C:Program Files (x86)GtkSharp2.12bin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:WINDOWSSystem32OpenSSH;C:Program FilesGitcmd;C:Program FilesGitusrbin;C:Program FilesCMakebin;C:UsersMichaelAppDataLocalProgramsMicrosoft VS Codebin;C:QtToolsQtCreatorbin;C:Qt5.12.0msvc2017_64bin;C:UsersMichaelAppDataLocalMicrosoftWindowsApps;C:UsersMichaelAppDataLocalProgramsMicrosoft VS Codebin;C:UsersMichaelAppDataLocalGitHubDesktopbin;

    C:ProjectFilesmscoreMuseScorezerberus>


    This is the build output from when I tried to build MuseScore; output too large so posting on PasteBin.



    Hopefully I can get this going before MuseScore 3.0 is released to fix a few bugs.










    share|improve this question



























      0












      0








      0








      It just doesn't.



      I'm fairly certain this is an issue with my computer, possibly due to the path variables, because I get the same problem with qt 5.11 as well as qt 5.12. It also seems like I'm not the only one who's had this problem—see this question—which works, but it's going to be pretty painful to do this for every *.ui file and dump it exactly where visual studio and/or the build bat script that MuseScore comes with expects it to be.



      This is an example of what I'm trying to do and a fairly annoying work around:



      Microsoft Windows [Version 10.0.17134.471]
      (c) 2018 Microsoft Corporation. All rights reserved.

      C:ProjectFilesmscoreMuseScorezerberus>uic zerberus_gui.ui -o ui_zerberus_gui.h

      C:ProjectFilesmscoreMuseScorezerberus>ls
      CMakeLists.txt channel.h instrument.cpp sfz.cpp zerberus.cpp zerberusgui.cpp zone.h
      README filter.cpp instrument.h voice.cpp zerberus.h zerberusgui.h
      channel.cpp filter.h sample.h voice.h zerberus_gui.ui zone.cpp

      C:ProjectFilesmscoreMuseScorezerberus>uic zerberus_gui.ui > ui_zerberus_gui.h

      C:ProjectFilesmscoreMuseScorezerberus>ls
      CMakeLists.txt channel.h instrument.cpp sfz.cpp voice.h zerberus_gui.ui zone.cpp
      README filter.cpp instrument.h ui_zerberus_gui.h zerberus.cpp zerberusgui.cpp zone.h
      channel.cpp filter.h sample.h voice.cpp zerberus.h zerberusgui.h


      This is what my path variables look like:



      C:ProjectFilesmscoreMuseScorezerberus>echo %PATH%
      C:Program Files (x86)Common FilesOracleJavajavapath;C:ProgramDataOracleJavajavapath;C:Program Files (x86)InteliCLS Client;C:Program FilesInteliCLS Client;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT;C:Program FilesIntelIntel(R) Management Engine ComponentsIPT;C:Program Files (x86)NVIDIA CorporationPhysXCommon;C:Program Files (x86)Common FilesPropellerhead SoftwareReWire;C:Program FilesCommon FilesPropellerhead SoftwareReWire;C:Program Files (x86)PuTTY;C:Program Files (x86)GtkSharp2.12bin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:WINDOWSSystem32OpenSSH;C:Program FilesGitcmd;C:Program FilesGitusrbin;C:Program FilesCMakebin;C:UsersMichaelAppDataLocalProgramsMicrosoft VS Codebin;C:QtToolsQtCreatorbin;C:Qt5.12.0msvc2017_64bin;C:UsersMichaelAppDataLocalMicrosoftWindowsApps;C:UsersMichaelAppDataLocalProgramsMicrosoft VS Codebin;C:UsersMichaelAppDataLocalGitHubDesktopbin;

      C:ProjectFilesmscoreMuseScorezerberus>


      This is the build output from when I tried to build MuseScore; output too large so posting on PasteBin.



      Hopefully I can get this going before MuseScore 3.0 is released to fix a few bugs.










      share|improve this question
















      It just doesn't.



      I'm fairly certain this is an issue with my computer, possibly due to the path variables, because I get the same problem with qt 5.11 as well as qt 5.12. It also seems like I'm not the only one who's had this problem—see this question—which works, but it's going to be pretty painful to do this for every *.ui file and dump it exactly where visual studio and/or the build bat script that MuseScore comes with expects it to be.



      This is an example of what I'm trying to do and a fairly annoying work around:



      Microsoft Windows [Version 10.0.17134.471]
      (c) 2018 Microsoft Corporation. All rights reserved.

      C:ProjectFilesmscoreMuseScorezerberus>uic zerberus_gui.ui -o ui_zerberus_gui.h

      C:ProjectFilesmscoreMuseScorezerberus>ls
      CMakeLists.txt channel.h instrument.cpp sfz.cpp zerberus.cpp zerberusgui.cpp zone.h
      README filter.cpp instrument.h voice.cpp zerberus.h zerberusgui.h
      channel.cpp filter.h sample.h voice.h zerberus_gui.ui zone.cpp

      C:ProjectFilesmscoreMuseScorezerberus>uic zerberus_gui.ui > ui_zerberus_gui.h

      C:ProjectFilesmscoreMuseScorezerberus>ls
      CMakeLists.txt channel.h instrument.cpp sfz.cpp voice.h zerberus_gui.ui zone.cpp
      README filter.cpp instrument.h ui_zerberus_gui.h zerberus.cpp zerberusgui.cpp zone.h
      channel.cpp filter.h sample.h voice.cpp zerberus.h zerberusgui.h


      This is what my path variables look like:



      C:ProjectFilesmscoreMuseScorezerberus>echo %PATH%
      C:Program Files (x86)Common FilesOracleJavajavapath;C:ProgramDataOracleJavajavapath;C:Program Files (x86)InteliCLS Client;C:Program FilesInteliCLS Client;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT;C:Program FilesIntelIntel(R) Management Engine ComponentsIPT;C:Program Files (x86)NVIDIA CorporationPhysXCommon;C:Program Files (x86)Common FilesPropellerhead SoftwareReWire;C:Program FilesCommon FilesPropellerhead SoftwareReWire;C:Program Files (x86)PuTTY;C:Program Files (x86)GtkSharp2.12bin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:WINDOWSSystem32OpenSSH;C:Program FilesGitcmd;C:Program FilesGitusrbin;C:Program FilesCMakebin;C:UsersMichaelAppDataLocalProgramsMicrosoft VS Codebin;C:QtToolsQtCreatorbin;C:Qt5.12.0msvc2017_64bin;C:UsersMichaelAppDataLocalMicrosoftWindowsApps;C:UsersMichaelAppDataLocalProgramsMicrosoft VS Codebin;C:UsersMichaelAppDataLocalGitHubDesktopbin;

      C:ProjectFilesmscoreMuseScorezerberus>


      This is the build output from when I tried to build MuseScore; output too large so posting on PasteBin.



      Hopefully I can get this going before MuseScore 3.0 is released to fix a few bugs.







      c++ qt cmake






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 22 '18 at 5:19









      JakeGould

      31.1k1094137




      31.1k1094137










      asked Dec 22 '18 at 5:08









      MichaelFMichaelF

      11




      11






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Problem solved.



          I'm using an antivirus called Comodo which is usually actually quite good, but the "sandbox" feature is a little overzealous and makes things silently fail in odd ways, I usually keep it off but it somehow came on again. UIC is currently working now.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386861%2fuic-doesnt-output-to-a-file%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Problem solved.



            I'm using an antivirus called Comodo which is usually actually quite good, but the "sandbox" feature is a little overzealous and makes things silently fail in odd ways, I usually keep it off but it somehow came on again. UIC is currently working now.






            share|improve this answer




























              0














              Problem solved.



              I'm using an antivirus called Comodo which is usually actually quite good, but the "sandbox" feature is a little overzealous and makes things silently fail in odd ways, I usually keep it off but it somehow came on again. UIC is currently working now.






              share|improve this answer


























                0












                0








                0







                Problem solved.



                I'm using an antivirus called Comodo which is usually actually quite good, but the "sandbox" feature is a little overzealous and makes things silently fail in odd ways, I usually keep it off but it somehow came on again. UIC is currently working now.






                share|improve this answer













                Problem solved.



                I'm using an antivirus called Comodo which is usually actually quite good, but the "sandbox" feature is a little overzealous and makes things silently fail in odd ways, I usually keep it off but it somehow came on again. UIC is currently working now.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 22 '18 at 10:55









                MichaelFMichaelF

                11




                11






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386861%2fuic-doesnt-output-to-a-file%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                    Alcedinidae

                    Origin of the phrase “under your belt”?