MSHV: Difference between revisions

From Useful notes
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://www.qt.io/offline-installers Qt 5.12.12]
== Installation ==
=== Debian / Raspbian ===
<pre>
apt install mingw-w64 qtbase5-dev libqt5websockets5-dev libasound2 libasound2-dev libpulse-dev
1. qmake MSHV_I686.pro "for 32Bit" or MSHV_x86_64.pro "for 64Bit"
2. make
</pre>
== src/HvTxW/hvtxw.cpp ==
== src/HvTxW/hvtxw.cpp ==
In src/HvTxW/hvtxw.cpp on line 2827 and 2828 change the following


<code>
<pre>
     qint32 ftf[c_frq]=
     qint32 ftf[c_frq]=
         {
         {
Line 7: Line 20:
             18100,18104,21074,21140,24915,24919,28074,28180  //,40680,50313,50318,60074,70154,70159
             18100,18104,21074,21140,24915,24919,28074,28180  //,40680,50313,50318,60074,70154,70159
         };
         };
</code>
</pre>


To the following
To the following


<code>
<pre>
     qint32 ftf[c_frq]=
     qint32 ftf[c_frq]=
         {
         {
Line 17: Line 30:
             // 18100,18104,21074,21140,24915,24919,28074,28180  //,40680,50313,50318,60074,70154,70159
             // 18100,18104,21074,21140,24915,24919,28074,28180  //,40680,50313,50318,60074,70154,70159
         };
         };
</code>
</pre>


== src/HvTxW/hvmultianswermodw.cpp ==
== src/HvTxW/hvmultianswermodw.cpp ==
In src/HvTxW/hvmultianswermodw.cpp on line 1611 change


<code>
<pre>
         {
         {
             if (s_co_type==0)
             if (s_co_type==0)
Line 28: Line 42:
                 SBslots->setRange(1,1);//<- importent eu vhf only 1 slot needed
                 SBslots->setRange(1,1);//<- importent eu vhf only 1 slot needed
         }
         }
</code>
</pre>


To the following
To the following


<code>
<pre>
         {
         {
             if (s_co_type==0)
             if (s_co_type==0)
Line 39: Line 53:
                 SBslots->setRange(1,1);//<- importent eu vhf only 1 slot needed
                 SBslots->setRange(1,1);//<- importent eu vhf only 1 slot needed
         }
         }
</code>
</pre>
 
== Premade files ==
 
=== 2.66 ===
 
[https://files.k0rap.com/MSHV/2.66/MSHV_266_Installer_32_and_64bit.exe Installer]
[https://files.k0rap.com/MSHV/2.66/update.zip Modified Exe’s]
 
=== 2.67 ===
 
[https://files.k0rap.com/MSHV/2.67/MSHV_267_Installer_32_and_64bit.exe Installer]
[https://files.k0rap.com/MSHV/2.67/update.zip Modified Exe’s]

Latest revision as of 13:55, 15 August 2023

Qt 5.12.12

Installation

Debian / Raspbian

apt install mingw-w64 qtbase5-dev libqt5websockets5-dev libasound2 libasound2-dev libpulse-dev
1. qmake MSHV_I686.pro "for 32Bit" or MSHV_x86_64.pro "for 64Bit"
2. make

src/HvTxW/hvtxw.cpp

In src/HvTxW/hvtxw.cpp on line 2827 and 2828 change the following

    qint32 ftf[c_frq]=
        {
            1840,3573,3575,7074,7047,10136,10140,14074,14080,
            18100,18104,21074,21140,24915,24919,28074,28180  //,40680,50313,50318,60074,70154,70159
        };

To the following

    qint32 ftf[c_frq]=
        {
            // 1840,3573,3575,7074,7047,10136,10140,14074,14080,
            // 18100,18104,21074,21140,24915,24919,28074,28180  //,40680,50313,50318,60074,70154,70159
        };

src/HvTxW/hvmultianswermodw.cpp

In src/HvTxW/hvmultianswermodw.cpp on line 1611 change

        {
            if (s_co_type==0)
                SBslots->setRange(1,2);
            else
                SBslots->setRange(1,1);//<- importent eu vhf only 1 slot needed
        }

To the following

        {
            if (s_co_type==0)
                SBslots->setRange(1,5);
            else
                SBslots->setRange(1,1);//<- importent eu vhf only 1 slot needed
        }