Bitcoin Forum
May 26, 2024, 03:47:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: QT wallet / How to create an extra tab?  (Read 145 times)
SBDomains (OP)
Sr. Member
****
Offline Offline

Activity: 630
Merit: 256



View Profile
August 21, 2018, 06:59:03 AM
 #1

Hello. I'm trying to learn QT wallet editing. I am trying to build an additional tab next "Hyperinks" (tab will show links to websites) to "Overview" page.

Since I'm absolutely new with QT, all I did was that I have copied overviewpage.cpp & overviewpage.h and renamed them to hyperlinks.cpp & hyperlinks.h. After that I have searched for all of the files containing "overview" in their contents and copy -> pasted the codes of "overview" tab by replacing the word "overview" with "hyperlinks" and also created a new form called "hyperlinkspage.ui" (tried hyperlinks.ui too). As I understand this simply should add a new tab next to "Overview" tab in the QT wallet, but it gives me the following error:

Makefile:1441: recipe for target 'build/bitcoingui.o' failed
make: *** [build/bitcoingui.o] Error 1

Why this may be hapenning and how do I fix this?

PS. I'm aware that just copy pasting overviewpage.cpp & overviewpage.h is just the same code as in those files, but I'm thinking to change those things later. Now I just want to see how to create a new tab at all.

All help would be appreciated!

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
CryptoTalk.org| 
MAKE POSTS AND EARN BTC!
🏆
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 21, 2018, 08:12:43 AM
Last edit: August 21, 2018, 11:32:48 AM by bob123
 #2

Try to compile it yourself using gcc and post the output here using code-tags (place it it between [code ] and [/code ] omitting the spaces).
You most probably broke something trying to just copy/paste the code.

We need to see the whole output being generated when you're trying to compile the code.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!