Try this one change and see if it fixes it for you...worked for me.

Add this declarartion to the private section in mainwindow.h

private:
  Ui::MainWindow *ui;


Mike W9MDB

-----Original Message-----
From: Joe Taylor [mailto:j...@princeton.edu] 
Sent: Saturday, March 07, 2015 12:47 PM
To: WSJT software development
Subject: [wsjt-devel] QtCreator problem

I'm temporarily stumped, and wonder if someone here can help.

I'm working on some possible GUI enhancements for WSJT-X, using QtCreator as
I have done before.  With a form (say mainwindow.ui) open in the main
designer window, I right-click on a widget -- more or less any widget -- and
select "Go to Slot...".  Then I select one of the possible signals that can
be generated by that widget.  For example, "clicked()" for the "Erase"
button.  Instead of generating (or going to the already generated) code for
the corresponding Slot, QtCreator displays this error message:

####################################################################
The class containing "Ui::MainWindow" could not be found in
C:\JTSDK\src\wsjtx\mainwindow.cpp.
Please verify the #include-directives.
####################################################################

Does this error make sense to anyone here?  The program builds properly, so
all necessary #includes are present.

        -- Joe, K1JT

----------------------------------------------------------------------------
--
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to